【问题标题】:YQL for twitter follower's tweets推特关注者推文的 YQL
【发布时间】:2009-06-08 10:43:30
【问题描述】:

如何获取特定 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')

但我没有得到任何结果。

注意 - 为了比较以下查询,它获取朋友的推文(我关注的人,而不是关注我的人),确实有效:

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')

【问题讨论】:

    标签: twitter yql


    【解决方案1】:

    您是否尝试添加 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')
    

    【讨论】:

      猜你喜欢
      • 2016-04-07
      • 1970-01-01
      • 2012-04-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-08-19
      • 2011-01-04
      相关资源
      最近更新 更多