Skip to main content

How to embed Twitter Messages on your webpage?

       
Adding your / your followers post/ twits or messages to your web page is much easy. Here the the CSS and Script that does that all.
 
Copy and paste the code below in your web page as:

Put the CSS snippet just before </style>

#twitter_div
{background:transparent url(http://yourwebsite.com/twitter.png) no-repeat scroll right bottom;}
#twitter_div ul li{list-style:none; color: #000; text-transform:capitalize !important;}

Put this code where you want to show the twits

<div id="twitter_div">
<h2 style="display: none;">Twitter Updates</h2>
<ul id="twitter_update_list"></ul>
<br/><br/><a id="twitter-link" style="display:block;text-align:left;" href="http://twitter.com/twitterAccoouontName">follow me on Twitter</a>
</div>
<script src="http://twitter.com/javascripts/blogger.js" type="text/javascript"></script>
<script src="http://twitter.com/statuses/user_timeline/twitterAccoouontName.json?callback=twitterCallback2&amp;count=1" type="text/javascript"></script>

Replace "twitterAccountName" with your Twitter Account Name, and
count=1 with number of twits you want to retrive .....that's all!

Happy Twittering!

Comments

What's new?

Popular posts from this blog

Protect Your email address from Spam!

Spam emails are the worst problem an email user always face. Though there are no hard and fast rules or techniques to stop the spam apart from the email providers Spam Filters or Controllers. You would possibly have published your email address on web-pages or a blog from where the spammers may crawl and catch it, just like the search engine crawlers do for your keywords. So, here is a technique to stop them from catching [auto crawling]. Create an image/ graphics of your email address. There are many websites proving you a free email graphics of your email address, but I found couple of them easy to do so. The image below is a demonstration of how you can easily create a graphic version of your email and use the small code on your website / blog to display it. You may do this with any graphics software but doing this online would be much easy ! This would help you to protect your email address. Try creating your email address with: Domain Tools and Safe Mail