Pregunta

I found that we can use stream API to get the latest tweets based on hash tags or keywords.

It says you have to keep your http connection open. I am having a doubt regarding this.

Can anyone give me an example of stream API in php?

And other thing can I skip hashtag and keyword parameter is this API ? So I can all the statuses?

Can I pass a parameter like latitude and longitude to get tweets from the specific region?

¿Fue útil?

Solución

You can request tweets by location, see their API documentation for specifying location boundaries: https://dev.twitter.com/docs/streaming-apis/parameters#locations

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top