문제

특정 트위터 계정 추종자의 트윗 목록을 어떻게 얻을 수 있습니까? 다음과 같이 추종자의 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')
도움이 되었습니까?

해결책

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')
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top