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

Coordinates in tweets have inconsistent longitude latitude

I've noticed in the live twitter stream that the longitude, latitude pairs for the object are inconsistent. Although the docs say the co-ordinates are displayed in the form [longitude, latitude] they appear in different orders. Is this a bug? If …
artifex_somnia
  • 438
  • 9
  • 20
0
votes
1 answer

I wonder why coordinates, place, and geo values are all "none" although location parameter is set in mostly result?

In Streaming API, I wonder why coordinates, place, and geo values are all "none" although location parameter is set in mostly result? So how does the API know that the results are associated to that location?
user1397595
  • 147
  • 1
  • 5
  • 14
0
votes
0 answers

Twitter4j streaming tweets data into MySQL tables

I am using Twitter4j Streaming API to collect tweets in real time filtered by certain keywords. I have create a schema for the tweet fields that I would require in MySQL and used JDBC connection to the table where I intend to store the tweets in…
user3451166
  • 189
  • 13
0
votes
1 answer

Capture "replies=all" for a User Stream und Phirehose in PHP

This a simple question, but I wasn't able to find an answer thus far. I use the Phirehose library (lib/UserstreamPhirehose.php) to capture the user stream in real time (class MyUserConsumer extends UserstreamPhirehose and I process the…
0
votes
1 answer

Getting curated content using streaming API

I cam across one third party API which provides organized twitter data as per user…
user3245689
  • 149
  • 1
  • 1
  • 11
0
votes
1 answer

Twitter4j get followers and following of any user

As a part of my final year project in university I'm analysing Twitter data using graph entropy. To briefly outline the purposes: I want to collect all tweet from a certain area (London) containing keywords "cold", "flu" etc. This part is done…
user3293141
  • 3
  • 1
  • 2
0
votes
1 answer

Extracting tweets from a location based on profile in tweepy

I'm developing a piece of code whereby I want to track a key word using the Twitter streaming API. Obviously, when I track the key word I get global results. I'm aware you cant stream both key words and locations simulatiously due to the API…
0
votes
2 answers

Collecting all or at least a good sample of tweets related to a particular event

I'm interested in using the Tweets in a Complex Networks research project for which I've to collect a good amount of tweets(unbiased sample of tweets) that're related to a particular event, for example, say Boston Bombing. I need to collect the…
VoodooChild92
  • 1,993
  • 3
  • 19
  • 24
0
votes
2 answers

iOS: Path to Twitter URL using JSON?

I'm trying to pull in the first url of a tweet using -objectForKey:, and I was wondering how I can pull in the expanded url in 1 go. Here's the json: "entities":{ "hashtags":[ ], "symbols":[ ], "urls":[ { …
KingPolygon
  • 4,753
  • 7
  • 43
  • 72
0
votes
2 answers

Twitter api (Twitter4j). How to get US tweets?

I'm trying to get random stream US tweets by using twitter4j, but it seems there is no way I can do that. I decided to use streaming api, because it looks like it suits for my purposes, but the thing is. I can get random tweets, using method…
Fake Man
  • 271
  • 1
  • 3
  • 8
0
votes
1 answer

Proxy twitter stream via socket.io

I've got socket.io set up with node.js. My scenario is a user/client supplies a twitter screen_name to follow, and then I need to subscribe to that twitter stream using the supplied screen_name (for some asinine reason the API requires a user_id…
0
votes
1 answer

Twitter API call not working

Hi Friends i am trying to run twitter apis to get tweets for a hashtag using below code. When i tried get the user timeline it's not giving any error for authentication but when it tried to search for tweets which contains hahstag it's giving…
0
votes
0 answers

Using Twitter Streaming Api - cURL truncates line write to 4096 bytes

Regards. I have a technical problem, but the solution is probably conceptual. I'm using Twitter Streaming Api with cURL (PHP), and saving the stream into a file. I then use another script to read the contents of the file and parse the tweets. So far…
Dandy
  • 303
  • 5
  • 14
0
votes
1 answer

Tweepy stream.userstream() doesn't receive direct messages

My eventual goal is to create a twitter "bot" that takes input via direct messages and alters a publically-visible webpage depending on the input. I was originally planning on doing this with public messages but that got annoying fast, and so I'm…
0
votes
1 answer

How to include twitter stream api in the python code to get access to realtime tweets

I am using the python V2.75 and have installed all the twitter related packages for python using the command 'pip install twitter'. I have played around it and the api works fine. Now, I want to access the streaming api of the twitter for real time…
chaitu
  • 1,036
  • 5
  • 20
  • 39