Search code examples
javascripthtmlcsstwittertweets

Adding Single Line Tweet to Webpage


I am working on a website for a client, he wants his tweets at the top of the page. I am confused as to how this is going to work. I have been working with some 3rd party stuff, but no success.

This is the page I am working on: http://whiterhino.us/jason_tanzer/template.html

This is how I want it to look/work: http://whiterhino.us/jason_tanzer/sample.html

Any Help would be Great!


Solution

  • This simplest way to do it is using this:

    <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/username.json?callback=twitterCallback2&amp;count=2"></script>
    

    Just replace "username" with the client's username and the count to however many tweets you want to display. The style with CSS and you are done!