문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top