Jitendra Vyas
Jitendra Vyas

Reputation: 152677

How to show only last tweet of mine using PHP?

How to show only last tweet of mine using PHP, without javascript? I want to show my own last tweet on a web page.

in this output

<p>Add a comment to your closing DIV tag – it could save you hours 
   <a>http://ping.fm/venna</a>
   <span>8:25 AM Apr 15th</span>
</p>  

Upvotes: 0

Views: 292

Answers (1)

user180100
user180100

Reputation:

I would parse with php the result of http://api.twitter.com/1/statuses/user_timeline.json?id=noradio&count=1 (replacing noradio) and then outputs the HTML you want

See also this page for some example

Upvotes: 2

Related Questions