开发者

Twitter Atom feed blank for one user but not another?

I've been pulling the latest tweet via search.atom in Twitter.

$feed = "http://search.twitter.com/search.atom?q=from%3A" . $username_for_feed . "&rpp=" . $limit;

The problem is lately it just started showing no content. I went and look开发者_如何学Ced at different URLs and it isn't showing, only for certain usernames??

http://search.twitter.com/search.atom?q=from:kevinbacon&rpp=1

That works for me.

http://search.twitter.com/search.atom?q=from:zesty_one&rpp=1

Here, both accounts have tweets, and when I add most_recent, it makes no difference, so I can't see how date has anything to do with it.


The search atom feed only goes back 7 days. So if that user with a blank feed hasn't tweeted for 7 days it won't show anything.


There is an Atom feed at

http://twitter.com/statuses/user_timeline/$username.atom?count=200
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜