2009-06-08 22 views
5

Come posso ottenere un elenco dei tweet dei follower di un determinato account Twitter? Posso ottenere un elenco di ID del seguace con questo:YQL per i tweet di Twitter follower

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

la mia ipotesi è che per recuperare i tweets per tutti questi ID mi dovrebbe quindi 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 ottengo solo nessun risultato.

nota - per il confronto la seguente query, che ottiene i tweet di amici (che seguo al contrario di 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') 

risposta

2

Avete 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') 
Problemi correlati