YQL for twitter follower的推文
问题描述:
如何获得特定推特账户的关注者的推文列表?我可以得到追随者的ID的列表与此:YQL for twitter follower的推文
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')
,但我只是得到没有结果。
注 - 比较下面的查询,它得到朋友的鸣叫(谁我跟随,而不是谁在追随我),没有问题:
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')