如何获取特定 Twitter 帐户关注者的推文列表?我可以通过以下方式获取关注者 ID 列表:
select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml'
我的假设是,要检索所有这些 id 的推文,我应该能够编写:
select title from twitter.user.timeline
where id in (select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml')
但我没有得到任何结果。
注意 - 为了进行比较,以下查询确实有效,该查询获取 friend 的推文(我关注的人而不是关注我的人):
select title from twitter.user.timeline
where id in (select id from xml where url='http://twitter.com/statuses/friends/sqlservercentrl.xml' and itemPath='users.user')
最佳答案
您是否尝试过添加 itemPath 标准?
select title from twitter.user.timeline
where id in (select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml' and itemPath='ids')
关于twitter - Twitter 关注者推文的 YQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/964294/