rest - Is it possible to parse all tweets of user? -


for example, want parse tweets of microsoft .

twitter has api - get statuses/user_timeline. how can see, method can return 3,200 of user’s recent tweets.

so, can parse tweets of screen_name?

you might bit better get search/tweets, adding query q=@microsoft.

however, have problems well:

  1. you'll tweets mentioning @microsoft, not ones @ user_timeline. have filter afterwards

  2. although there not limit in theory, 1 of 3200 of get statuses/user_timeline, wont able all tweets user. definition, twitter api not provide kind of service. if want all tweets you'll need use service topsy (not free)

  3. you'll have use pagination since every query get search/tweets gives maximum of 100 tweets, , if need more 450*100 tweets (remember you'll mixture of tweets pointed out in 1. above), you'll have handle twitter rate limits , launch queries in windows of 15 minutes

sorry there not simpler answer question... hope helps anyway.

(edit: 450*100 assuming use application-only authentication. if not, 180*100)


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -