5

特定の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')
4

1 に答える 1

2

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')
于 2009-06-08T18:41:38.077 に答える