Questions tagged [twitter-streaming-api]

The set of streaming APIs offered by Twitter give developers low latency access to Twitter's global stream of Tweet data.

392 questions
0
votes
1 answer

How to use twitter4j along with storm

I use the twitter4j query interface to filter tweets http://twitter4j.org/javadoc/twitter4j/Query.html. But the twitter spout in https://github.com/nathanmarz/storm-starter/blob/master/src/jvm/storm/starter/spout/TwitterSampleSpout.java:43 uses…
Joe
  • 14,513
  • 28
  • 82
  • 144
0
votes
1 answer

Twitter Streaming API with Twitter4j

I need to stream all public tweets which contain a certain hashtag AND replies to a certain account (which I own) and store them in a database. However, I can't get Twitter4j to do this for me. Is there something I'm missing? I've only been able to…
Charlie-Blake
  • 10,832
  • 13
  • 55
  • 90
0
votes
1 answer

Twitter Streaming API vs. Twitter Search for live events streaming

I am going to be providing a twitter feed inside and Android app that allows re-tweets, favorites and reply to the tweet. I understand that there is a search api and also a streaming api. This is a major live event and I was just wondering if the…
NextDroid
  • 337
  • 2
  • 4
  • 10
0
votes
2 answers

What are the pro and cons of hosting the twitter streaming api on Amazon Elastic Compute Cloud (Amazon EC2)

for a research project of mine I am writing an sentiment analysis tool for analyzing tweets. My Question now is: What are the pro and cons of hosting the twitter streaming api on Amazon Elastic Compute Cloud (Amazon EC2)? Would the Micro (free)…
0
votes
1 answer

Close Twitty Twister Stream

I'm currently using twitty-twister to stream live Twitter messages into a long-running app, however sometimes I need to restart the stream to change the tracking parameters. Is it possible to disconnect this stream from Twitter using this library?
robbrit
  • 17,560
  • 4
  • 48
  • 68
0
votes
1 answer

Phirehose exits when using setFollow

Currently I'm using Phirehose to track keywords in Twitter streams and want to track users as well. But when I use setFollow() in my checkFilterPredicates() method, Phirehose stops working after the initial connection. public function…
frbry
  • 365
  • 4
  • 23
0
votes
1 answer

How to exclude mentions in the Twitter streaming API

I am using the Twitter Streaming API since I need to get all posts on the home timeline as well as lists and hashtags the user is following. However, this also returns mentions (which do not appear on the timeline) is there a way to exclude these…
xizor
  • 1,554
  • 2
  • 16
  • 35
0
votes
1 answer

Collecting and Processing data with PHP (Twitter Streaming API)

after reading through all of the twitter streaming API and Phirehose PHP documentation i've come across something I have yet to do, collect and process data separately. The logic behind it, If I understand correctly, is to prevent a log jam at the…
G.Thompson
  • 807
  • 2
  • 11
  • 25
-1
votes
1 answer

Is there a way to stream tweets using python only for specific time?

I'm working on tweepy to stream tweets. As far I know we can start the streamer and leave it running indefinitely to work with tweets. I was looking for a way to limit this stream and exit the streamer after some time like 10 minutes or so which we…
Underoos
  • 4,708
  • 8
  • 42
  • 85
-1
votes
2 answers

except BaseException as e: keeps throwing an error

I'm following a tutorial about analyzing twitter data. I'm wondering why I keep getting a syntax error on line 44: except BaseException as e: from tweepy import API from tweepy import Cursor from tweepy.streaming import StreamListener from tweepy…
user8514712
-1
votes
1 answer

Storing streamed tweets in a list for further analysis

I am building a data mining app to collect tweets using the Twitter streaming API (via tweepy) and run a suite of NLP algorithms on it. So far all I have been able to do is get the tweets to be written into an external file. Due to the volume of…
AviS
  • 582
  • 7
  • 13
-1
votes
1 answer

Retrieving data from twitter

I'm trynna retrieve data from twitter and I read that Twitter doesn't allow users to retrieve more that 180 information (or query) during 15 minutes! I just wonder why is that?! And how I can retrieve more?!
-1
votes
1 answer

is twitter4j still functional for twitter APIv1.1?

I want to use java servlets to call the latest twitter API V1.1 that integrates the oAut 1.0 protocol and I would want to know if twitter4j is still functional?
-1
votes
1 answer

Saving Twitter Streaming APIs results

Hi all so after a lot of hassle I managed to finally work my way around achieving and delimiting the JSON returned by Twitter Streaming APIs. How do i store the data returned by [NSJSONSerialization JSONObjectWithData:options:error:] into an array…
-2
votes
1 answer

HTTP/1.1 401 Authorization Required Error - Twitter API

Getting Error 401 while sending the below request for stream api . however when i just try using curl with authorization header it works properly . Please advice what m doing wrong. REQUEST GET /1.1/statuses/filter.json HTTP/1.1 Accept:…
VikramChopde
  • 203
  • 1
  • 4
  • 11
1 2 3
26
27