Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter json feed?

Does anyone know where I can find a json feed for this page?

http://twitter.com/#!/microsoft

The closest I have found is this:

http://twitter.com/status/user_timeline/microsoft.json

but that does not include all the tweets, i.e.

" ... that server room is going to be empty soon & we’re going to install my Jacuzzi in it." http://bit.ly/j1N82d

is missing

like image 355
oshirowanen Avatar asked Jul 01 '11 10:07

oshirowanen


People also ask

What is Twitter JSON?

All Twitter APIs that return Tweets provide that data encoded using JavaScript Object Notation (JSON). JSON is based on key-value pairs, with named attributes and associated values. These attributes, and their state are used to describe objects. At Twitter we serve many objects as JSON, including Tweets and Users.

Can I use Twitter API without authentication?

You can use the twitter api v1 to take the tweets without using OAuth.

Is Twitter API a REST API?

Technically, no, it's not RESTful.


1 Answers

It seems the method you're using to request the feed has been deprecated (at least I couldn't find it in the current docs). Anyways here's what I would do:

http://api.twitter.com/1/statuses/user_timeline.json?screen_name=microsoft&include_rts=1

This will fetch 20 of microsoft's latest tweets, and include_rts=1 will include any retweets by them.

like image 141
Gal Avatar answered Sep 28 '22 03:09

Gal