Question

Comment puis-je obtenir une liste des tweets des disciples d'un compte twitter particulier? Je peux obtenir une liste des ids du suiveur avec ceci:

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

mon hypothèse était que pour récupérer les tweets pour tous ces ids je puis être en mesure d'écrire:

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

mais je viens d'obtenir aucun résultat.

Remarque - à titre de comparaison la requête suivante, qui obtient les tweets d'amis (qui je suivre par opposition à qui me suit), fonctionne:

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')
Était-ce utile?

La solution

Avez-vous essayé d'ajouter des critères de 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')
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top