Twitter Atom为一个用户提供空白而不是另一个用户?

时间:2011-09-29 19:44:56

标签: twitter feed atom-feed

我一直在Twitter上通过search.atom提取最新推文。

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

问题是最近才开始显示没有内容。我去看了不同的URL,它没有显示,只针对某些用户名?

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

这适合我。

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

在这里,两个帐户都有推文,当我添加most_recent时,它没有任何区别,所以我无法看到日期与它有什么关系。

2 个答案:

答案 0 :(得分:1)

搜索原子Feed仅返回7天。因此,如果具有空白Feed的用户未发送推文7天,则不会显示任何内容。

答案 1 :(得分:0)

有一个Atom Feed
http://twitter.com/statuses/user_timeline/$username.atom?count=200