Twitter Integration in Your Website

Learn how to integrate twitter feed within your website via the twitter API. This is done via jQuery.

In order to use the twitter API you must create a developer profile and an Application.

1. Create you Develoloper account and an App - https://apps.twitter.com/ 

2. You will need to retrieve Consumer API, Consumer Secret, Access Token, and Acces Token Secret

3. The information will be placed on the index.php inside the twitter folder

For the JS you will follow the sea of clouds example

<script type="text/javascript">
$(document).ready(function() {
    $('.twitterfeed').tweet({
        modpath: '/assets/twitter/',
        count: 5,
        loading_text: 'loading twitter feed...',
        /* etc... */
    });
</script>

 

Documentation