Posted by : Anjana Jayaweera Sunday, March 24, 2013



With jTweetsAnywhere, its very simple. Its powered by jQuery.

Step 1
Download the Zip package from here and extract them.

Step 2
Link these to your web page header.

<script src="javascripts/jquery.js" type="text/javascript"></script>
<script src="javascripts/jquery.jtweetsanywhere.js" type="text/javascript"></script>
<script src="javascripts/jtweetsanywhere-de-min.js" type="text/javascript"></script>
<link href="stylesheets/jquery.jtweetsanywhere.css" rel="stylesheet"></link>

Step 3
Set this to document.ready function

$(document).ready(function(){
    $('#your-twitter-div-id').jTweetsAnywhere({
        username: 'your-twitter-username',
        count: 5, //how many tweets you wants to show
        showTweetFeed: {
            /*showProfileImages: true,
            showUserScreenNames: true,
            showUserFullNames: true,*/
            showActionReply: true,
            showActionRetweet: true,
            showActionFavorite: true
  },
 });
});
You can customize the CSS file as you like. Simple, isn't it? :)

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Popular Post

Blogger templates

Labels

- Copyright © My Code Genius by 2 Geniuses -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -