YQL per i tweet dei follower di Twitter
Domanda
Come posso ottenere un elenco dei tweet dei follower di un particolare account Twitter?Posso ottenere un elenco degli ID dei follower con questo:
select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml'
la mia ipotesi era che per recuperare i tweet per tutti questi ID avrei dovuto essere in grado di scrivere:
select title from twitter.user.timeline
where id in (select id from xml where url='http://twitter.com/followers/ids/sqlservercentrl.xml')
ma non ottengo risultati.
Nota - per confronto, la seguente query, che ottiene i tweet degli amici (chi seguo anziché chi mi segue), funziona:
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')
Soluzione
Hai provato ad aggiungere i criteri 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')
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow