YQL是Twitter追随者的推文(YQL for twitter follower's tweets)

编程入门 行业动态 更新时间:2024-10-27 12:36:30
YQL是Twitter追随者的推文(YQL for twitter follower's tweets)

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

How can I get a list of the tweets of a particular twitter account's followers? I can get a list of the follower's ids with this:

select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml'

my assumption was that to retrieve the tweets for all these ids I should then be able to write:

select title from twitter.user.timeline where id in (select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml')

but I just get no results.

note - for comparison the following query, which gets the tweets of friends (who I follow as opposed to who follows me), does work:

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

Have you tried adding the itemPath criteria?

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

更多推荐

本文发布于:2023-07-07 15:30:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1065208.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:追随者   Twitter   YQL   tweets   follower

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!