Add Custome Twitter API

Posted: November 25, 2013 in ALL

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <!--[if lt IE 9]>
                    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
                <![endif]-->
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
        <script type="text/javascript" src="twitter/jquery.tweet.js"></script>
        <style>
            #twitter ul li {list-style:none; font-family:Arial, Helvetica, sans-serif; color:#666666}
        </style>
    </head>

    <body>
        <div class="widget span3">
            <h4>Latest Tweets</h4>
            <div class="show-tweets" id="twitter"></div>
        </div>
        <script type="text/javascript">
            // Twitter
            $("#twitter").tweet({
                join_text: "auto",
                username: "    ", //replace this with your username
                modpath: './twitter/',
                avatar_size: 32,
                count: 10,
                loading_text: "loading tweets..."
            });

        </script>

    </body>
</html>

Download Twitter Javascript and attached : https://github.com/StanScates/Tweet.js-Mod

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s