如何获取特定Twitter帐户关注者的推文列表?我可以通过以下方式获得关注者ID的列表:
select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml'
Run Code Online (Sandbox Code Playgroud)
我的假设是,为了检索所有这些ID的推文,我应该能够写:
select title from twitter.user.timeline
where id in (select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml')
Run Code Online (Sandbox Code Playgroud)
但我没有得到任何结果.
注意 - 为了进行比较,下面的查询得到了朋友的推文(我跟随谁而不是跟随我的人),确实有效:
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')
Run Code Online (Sandbox Code Playgroud)
您是否尝试过添加 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')
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2272 次 |
| 最近记录: |