I would like to use below stream API to get realtime twitter status.
https://stream.twitter.com/1.1/statuses/filter.json
with given account/filter condition, I can establish connection and get real time twitter status from this endpoint.
My problems is I would like to get more different stream data set based on different search conditions with one account. and store streams’s data into different tables for further analysis
say to create two steams with same account at same time
stream1 - query with #Cloud [analysis for tweet with hashTag Cloud]
stream2 - query with #5G [analysis for tweet with hashTag Cloud]
with given one account, is it possible to accomplish this requirement based on V1.1 Twitter API?
1)is multiple connection to this filter endpoint with one account possible?
2)if not possible, then is it possible to dynamically change the search condition? and when get data disingush result for different search conditions?
Only 1 connection is allowed. You can make new connections but older ones will be disconnected. This goes for both v1.1 API and v2 API.
Also no for v1.1 but it is possible in v2 API.
In v1.1 it is not possible, you have to match it yourself. In v2 you can use separate rules and tweets will have the rule that was matched in the metadata.
Thanks so much for your reponse on clarify these.
system
Closed
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.