开发者

twitter rss or otherwise get 100 latest tweets

开发者_开发问答I want to get the last 100 tweets from my twitter account into php. I can get 25 from the Rss feed, but no more.

Is their another way?


http://api.twitter.com/1/statuses/user_timeline/<user_name>.xml?count=200


You would need to use the new search API:

https://dev.twitter.com/docs/api/1/get/search

Which would let you create a URL like this:

https://search.twitter.com/search.json?q=from:<user_name>&rpp=100

...but, most of these methods will only bring back as many from the last 30 days.


How about you pull the RSS and store it in a database? Then you can get however many you want. You aren't hitting the RSS on every load are you?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜