The set of streaming APIs offered by Twitter give developers low latency access to Twitter's global stream of Tweet data.
Questions tagged [twitter-streaming-api]
392 questions
0
votes
1 answer
Error 403 with Twitters streaming API while sending a POST request - C#
I'm building an bot that auto replies to tweets that contain specific words. I am using HttpWebRequest to make a request to the streaming API and posting the tweet. Only problem is that the twitter API limits the ammount of requests you can make in…

Hugo Holmqvist
- 1
- 1
0
votes
1 answer
InsecurePlatformWarning Using Tweepy
I'm Using python 2.7.7 on my mac book air. I've copied the code from the official Tweepy documentation - http://docs.tweepy.org/en/latest/streaming_how_to.html?highlight=stream.
import tweepy
consumer_key = "***"
consumer_secret =…

Soroush Ghodsi
- 380
- 1
- 7
- 19
0
votes
1 answer
Twitter Streaming API Python - Writing incomplete data to file
I am using the Twitter Streaming API to get tweets matching certain keyword. The output which is obtained is written to a file. I do some basic comparison based on distance from which the tweet originates and I write to seperate files accordingly.
…

shivram
- 469
- 2
- 10
- 26
0
votes
1 answer
Twitter user stream from server
The twitter user stream docs state
Note that User Streams are not intended for server-to-server connections.
To maintain some metrics (when the user is away) I need to run a user stream from my server.
I cant user the public stream API as it does…

Osama Hussain
- 91
- 2
- 6
0
votes
0 answers
[Twitter Streaming API]Is it possible to track keyword from the user's timeline?
I have a code that could receive the PUBLIC API and filter by keywords, but now I want this filtering function only provide tweets from my home timeline.
I read the official materials about streaming api, it seems that these two things can be done…

WY4869
- 101
- 1
- 12
0
votes
0 answers
How to access the Twitter Streaming API from Python
I am looking to do some twitter programming using Python. I am currently using the excellent Python Twitter Tool by Sixohsix. I can post tweets from my app to my bot accounts feed but currently can't retrieve the Twitter Streaming API. Here is my…

John Gannaway
- 125
- 1
- 9
0
votes
1 answer
Spark Streaming : Join Dstream batches into single output Folder
I am using Spark Streaming to fetch tweets from twitter by creating a StreamingContext as : val ssc = new StreamingContext("local[3]", "TwitterFeed",Minutes(1))
and creating twitter stream as :
val tweetStream = TwitterUtils.createStream(ssc,…

Hussain Shaik
- 117
- 1
- 4
- 11
0
votes
0 answers
Twitter Streaming Filter API: Not seeing tweets
I'm dabbling with the twitter streaming filter API (https://dev.twitter.com/streaming/reference/post/statuses/filter). I have two twitter accounts. One account I'm using for the API calls, the other is my personal account which I'm using for…

loesak
- 1,413
- 2
- 19
- 33
0
votes
1 answer
Event handler is always null when raising event
I am writing a class library which connects to the Twitter Streaming API and processes the continuous JSON stream in real-time. I want to raise an event every time a new tweet is received from the API so that I can make use of a lambda method in the…

adaam
- 3,700
- 7
- 27
- 51
0
votes
0 answers
Collecting tweets using Twitter4j by user's location and time frame
I'm currently getting tweets using Twitter4j an unofficial Java library for the Twitter API but my question is how to get a big data set of tweets from different users that don't have a keyword in common but do have their location in common. I know…

PrettyGirl
- 31
- 1
- 2
0
votes
1 answer
How does Twitter's Streaming API match keywords?
When using the Twitter site streaming API, one must provide keywords in order to initiate the streaming.
If I supply, for example, the keyword "great", would the streaming API return tweets containing something like "ABCDgreat"?
In other words; does…

Chedy2149
- 2,821
- 4
- 33
- 56
0
votes
1 answer
set credentials of twitterstream in spring XD (Error Twitter authentication failed: 401 Authorization Required)
I'm trying to follow this tutorial
https://github.com/spring-projects/spring-xd-samples/tree/master/analytics-dashboard
and I'm facing a problem in twitter connection.
I've set the keys in…

Haya aziz
- 300
- 1
- 3
- 16
0
votes
1 answer
Continously run Phirehose on EC2 micro instance
I want to run Phirehose, a php Twitter streaming API on Amazon EC2 to run continuously. I used the following code

The Black Sandal
- 134
- 8
0
votes
1 answer
Filtering tweets based on hashtags and user_mentions
I want to get realtime tweets using streaming api and then filter them based on a list of hashtags and user_mentions I have. Only those tweets should be fetched which has any hashtag among one of the items in the hashtags list or has a user_mention…

nishantsingh
- 4,537
- 5
- 25
- 51
0
votes
1 answer
Streaming API Twitter - Get the public Stram
I'm using the hbc tools to build an app using streaming Api. I just want to get the public streaming flow without any trackword or others filters.
How can I manage to do that?
Here is a sample of code I wrote:
StatusesFilterEndpoint endpoint = new…

Luhd
- 1
- 1