题
我怎样才能得到一个特定的Twitter帐户的追随者的鸣叫名单?我可以得到追随者的ID的列表与这样的:
select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml'
我的假设是,检索所有这些IDS那么我应该可以写微博:
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')
不隶属于 StackOverflow