Easiest way to get tweets by one person?

S_Profil
@S_Profil Daniel M.

Hi,

I'm new to the API and confused already.
I want to get as many tweets from one person's timeline as possible. Let's use twitter.com/#!/c418 as an example. I want to get every tweet this page shows, including answers, but no retweets. What is the easiest method to do that, and what's the maximum amount of tweets I can receive? (Because APIs are very restricted, usually ...)

24 weeks 4 days ago

Replies

S_Profil
@S_Profil Daniel M.

(outdated)

24 weeks 3 days ago
episod
@episod Taylor Singletary

You can use the GET statuses/user_timeline API to fetch a single user's tweets. You can get as many as 200 per page and up to 3,200 tweets by that user. The Twitter API is ratelimited and you'll likely want to read some of the documentation on rate limits.

24 weeks 3 days ago
S_Profil
@S_Profil Daniel M.

Cool, thanks! :)

24 weeks 3 days ago
Kennethbrowne
@Kennethbrowne Kenneth Browne

Hi All,
I'm using the GET statuses/user_timeline request to search for Tweets by one user to display in an iOS app. If I'm connecting to the net via WiFi the request fetches the information correctly, but over 3G I hit the "Rate limit exceeded" error.
Even if I use Safari on the iPhone (over 3G) with the following URL:

https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=twitterapi&count=2

I get this error:
{"error":"Rate limit exceeded. Clients may not make more than 150 requests per hour.","request":"\/1\/statuses\/user_timeline.json?include_entities=true&include_rts=true&screen_name=twitterapi&count=2"}

but again it works fine over wifi...

This is strange....
can anyone help?

19 weeks 1 day ago
episod
@episod Taylor Singletary

Are you making the API call unauthenticated? Do you know how your cell provider dishes out IP addresses? If IP addresses are shared between users, unauthenticated requests are likely going to be hard going for you.

19 weeks 1 day ago
Kennethbrowne
@Kennethbrowne Kenneth Browne

no the call isn't authenticated. I don't know if the cell provider shares IP addresses, but I'm guessing it probably does hence which is why I'm getting this reply :(

The iOS app I'm writing consists of a few views, one of which is a Twitter feed from a particular user_name. The end user of the app may, or may not, have a twitter account, but I want them to be able to read the feed.

Is there another direction I could approach this from?

19 weeks 1 day ago