views:

36

answers:

2

Hello!

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!

A: 

Did this the other day. You probably want to use a library for this to make things easier. First get his twitter JSON feed (http://twitter.com/status/user_timeline/.json?count=10&callback=?) using Jquery's getJSON(). Process the returned data accordingly.

trinth
A: 

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;amp;count=2"&gt;&lt;/script&gt;

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!

Ben