Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [twitter]

Twitter is an online social networking and microblogging service

6
votes
1answer
121 views

Figuring out the most probable country out of a string?

I got a problem with a twitter analysis i am doing. What i want to do: Based on the country i want to make a nice graphic about how many tweets were posted per country. Using python and tweepy i ...
0
votes
1answer
101 views

Embed twitter timeline in ol3 popup?

I can embed a tweet in an ol3 popup using a simple iframe code stored in a geojson. The code uses a free service called twitframe.com: <iframe border=0 frameborder=0 height=250 width=250 src=https:...
19
votes
1answer
626 views

Why are geolocations on Twitter “rounded”?

I'm plotting some geolocations (lon, lat) of tweets collected using the Stream API with a 7mi. radius. The picture below shows two maps of the same data, but using different alpha/transparency for ...
1
vote
1answer
437 views

Grabbing Twitter locations with Python: Receiving ReadTimeOutError

I am running the following code with Python to grab Twitter locations for a specific bounding box: import json from tweepy import Stream from tweepy import OAuthHandler from tweepy.streaming import ...
2
votes
2answers
400 views

Stratified sampling from point data in ArcGIS Desktop?

I have 8000 points with a zipcode number. Actually those are tweet points talking about zipcode, so multiple points have same number (e.g. 300 points with zipcode 32,805). I want to get 800 sample ...
2
votes
0answers
100 views

Twitter2QGIS plugin error “EOF occurred in violation of protocol”

I installed twitter2qgis plugin and also tweepy through pip manually and then, I put access token etc value from my developer twitter account and when I apply I get this error: And this is written in ...
4
votes
0answers
174 views

Calculating distances (differences?) between two regions?

I am building a machine learning system which predicts the location of tweets as a bounding box (using the google maps API among other things). Since the twitter API also supplies a bounding box, I am ...
1
vote
1answer
28 views

Changing the time to GMT+05:30 in twitter tool in cartodb

I am much more interested in exploring geotagged twitter maps using cartodb. By default, We will be giving a search term as well as the From/To (Date with time) usually it will be 30days. In this From/...
1
vote
1answer
81 views

Creating geotagged twitter maps in cartodb for one country instead of entire world

I know we can create a geotagged twitter maps using cartodb http://docs.cartodb.com/tutorials/connect_twitter_datasource/#twitter-api-data-options. But by default, the cartodb will create a twitter ...
1
vote
1answer
975 views

How to geocode location using twittersearch for leaflet map of tweets

I'm using twittersearch to iterate over user input topics and location of interest that will then be visualized in a leaflet map. So using 'place' I can get a map, no problem. I'm trying to increase ...
1
vote
1answer
572 views

Populate markers in leaflet with tweets and tweet location using python

I am iterating over twitter using python, the user inputs a topic to search for on twitter and then the location to view on the map in leaflet. The leaflet map is created automatically in the browser. ...
1
vote
1answer
179 views

Iterating over Twitter data using TwitterSearch creating array in Arcpy for shapefile

Below is the section of code I'm having trouble with. How do I designate the x and y coordinates from the (lat, lng) variable in the twittersearch for loop in the top part? These coordinates will be ...
2
votes
1answer
2k views

alternative to geograpy package for python (Pulling locations from text)

I am currently exploring using the geograpy package for python to pull locations from text. It uses nltk, among other things to pull locations from URL's and text. The only problem is it doesn't ...
4
votes
1answer
229 views

Using Gazetteers to mine locations from text

I am starting to work with Gazetteers and trying to find something that will actually "mine" geospatial locations from sets of text. Academically, this is a difficult task as texts are based on ...
1
vote
0answers
54 views

How to know where views are being generated from in CartoDB?

I see in my dashboard that I can hover over a map and see how much it is being viewed. Many services, like mapbox and even youtube show you where your views are being generated from or perhaps it just ...
3
votes
1answer
346 views

Generating a heatmap with the twitter search term using cartodb api

I have a search box in my UI and a div for displaying maps.if i enter any term in the search box, say for example (chennai rain) does cartodb has any api or sample codes to generate a heatmap for that ...
1
vote
1answer
122 views

Live Tweet Maps in CartoDB

This page [https://cartodb.com/cartodb-for/twitter-maps/] seems to indicate a live tweet map is possible with CartoDB, but the interface forces me to define a time span and doesn't allow me to define ...
4
votes
0answers
540 views

Twitter REST API missing geo-tagged tweets from Europe

I used twitter's REST API to get few thousands tweets from last two days. Everything went ok, but when I put tweets on the map, there is empty "box-like" area (no tweets for almost entire Europe - ...
2
votes
1answer
276 views

Embeds with iFrames and Scripts in CartoDB InfoWindows

How is it possible to embed content — like YouTube-Videos, Twitter-Tweets, Facebook-Posts, Instagram-Photos or any other kind of embeds — into a InfoWindow in CartoDB? In my Dataset there is a row ...
14
votes
1answer
7k views

Converting Twitter tweets into points?

I've been doing some research on using R to datamine twitter, but I haven't really found an answer or a decent tutorial for my question. I'm interested in pulling tweets from twitter with a certain ...
2
votes
1answer
115 views

CartoDB Twitter code bl.ocks non-functional with namedmap type viz

I'm working with the code example shown here http://bl.ocks.org/javisantana/6029822 When I substitute Javi's viz for a namedmap map type viz it fails with the following error "TypeError: r is not a ...
2
votes
1answer
205 views

Adding Facebook and Twitter sharing to CartoDB infowindows?

Trying to add share buttons to output something like: {{region}} text {{region_variable}} text www.google.com The below works very intermittently for Twitter, but when I share the URL, the map won't ...
1
vote
2answers
399 views

Cartogram plugin for leaflet or OSM

Does anyone know if there is a plugin to make cartograms for leaflet? I have sets of geotagged Twitter datas and I'd like to distord the map according to the density of tweets of every area of the ...
2
votes
1answer
126 views

Sunlight layer into CartoDB

I have a list of tweets on a torque map made with CartoDB. I want to add an additional layer that shows the sunlight around the world at certain times, similar to the Twitter #sunrise map found here. ...
1
vote
1answer
178 views

Using twitter coordinates in OSGeo library

I have twitter data with coordinates such as: [-7.2377761, 112.73091137] I'm working with a python geo library called osgeo. The sample code indicates creating a point like this. point = osgeo.ogr....
4
votes
2answers
12k views

From coordinates find country using Python

I have tweets with coordinates. I'm trying to bucket the tweets by country using the coordinate information. I know that I can achieve this using some hosted web services but all of these have API ...
0
votes
1answer
659 views

Which geo-location available in Twitter data should I use?

I am extracting twitter location on my side.Few tweets has perfect location but in most cases additional details are available (i.e. Country,bounding_box,poly lines etc) So confused regarding ...
3
votes
1answer
682 views

How to return geo-tagged social media posts?

I have seen quite a few ESRI web apps that utilize Geo-Tagged social media posts as a point data layer. I'm wondering how one goes about querying things like Twitter, Flickr and YouTube to return ...
1
vote
0answers
43 views

QGIS rule-based point style responding to number of co-located objects? [duplicate]

I am mapping the geolocated location information for 5.5k Twitter profiles as point data. Many of them have the same location ie "London, UK" meaning that they return identical coordinates. On the map ...
5
votes
2answers
324 views

Twitter in 2013

I am a geography teacher and would love to map tweets in QGIS for my pupils. I followed all the instructions but it seems Twitter have changed the way they stream their tweets. I can cope with the GIS ...
4
votes
1answer
741 views

How to collect tweets outside a given bounding box?

I checked the twitter API here. I know how to get tweets in United States within a bounding box such as: [-124.47,24.0,-66.56,49.3843]. How can I easily get all the tweets NOT in this bounding ...
1
vote
0answers
62 views

Twitter live feed on ArcGIS desktop [duplicate]

I am a complete beginner with ArcGIS and I have been looking for a way to live feed tweets to ArcGIS desktop. A quick google search brings this blogpost up from 2009: http://blogs.esri.com/esri/arcgis/...
10
votes
1answer
2k views

Integrating geolocated Twitter posts in ArcGIS for Desktop?

Is it possible to integrate the lat/long data included with Twitter posts (those few that have it enabled of course) into an ArcGIS Desktop environment? I've seen Twitter applications on ArcGIS ...
7
votes
2answers
1k views

Sources of geolocated Tweets

Are there any publicly available sources of geolocated Tweets? I'm aware that one can collect them on their own, but was wondering if there is something readily available to play with. There is a ...
3
votes
1answer
383 views

Where are the raw data sources for all these maps?

Pretty straightforward question here. At an increasing rate I see crowd sourcing data being mapped to great effect. Where are the raw data sources for all these maps? I know they vary but I don't ...
4
votes
2answers
918 views

Project twitter geo data into WGS84 map

I'm currently working on displaying twitter geo data (currently just long/lat -> cartesian without any analysis). This is the world map (source: naturalearthdata): http://dl.dropbox.com/u/14747311/...
5
votes
1answer
2k views

Geotagged tweets and Twitter API

When I do a timeline query using the Twitter API, http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=MyTwitterName the geographic component of the reply looks like this: <geo>&...