Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top