Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I get the position (lat, lon) of a foursquare checkin posted on twitter?
    primarykey
    data
    text
    <ol> <li><p>I search with the twitter API all the public tweets with "4sq.com":</p> <p><a href="http://search.twitter.com/search.json?q=4sq.com" rel="noreferrer">http://search.twitter.com/search.json?q=4sq.com</a></p></li> </ol> <p>so I get all the check-in on Foursquare that actually shared on Twitter. </p> <pre><code>{"created_at":"Sun, 08 Jan 2012 20:05:27 +0000","from_user":"fenavergara","from_user_id":50876086,"from_user_id_str":"50876086","from_user_name":"Fernanda Vergara Ch","geo":null,"id":156104246239051776,"id_str":"156104246239051776","iso_language_code":"lt","metadata":{"result_type":"recent"},"profile_image_url":"http://a2.twimg.com/profile_images/1708744785/image_normal.jpg","profile_image_url_https":"https://si0.twimg.com/profile_images/1708744785/image_normal.jpg","source":"&amp;lt;a href=&amp;quot;http://foursquare.com&amp;quot; rel=&amp;quot;nofollow&amp;quot;&amp;gt;foursquare&amp;lt;/a&amp;gt;","text":"I'm at Roca Roja (Antofagasta) http://t.co/DIKdYGwD","to_user":null,"to_user_id":null,"to_user_id_str":null,"to_user_name":null},{"created_at":"Sun, 08 Jan 2012 20:05:27 +0000","from_user":"Fabioland76","from_user_id":357326176,"from_user_id_str":"357326176","from_user_name":"Fabio Landini","geo":null,"id":156104246104821760,"id_str":"156104246104821760","iso_language_code":"no","metadata":{"result_type":"recent"},"profile_image_url":"http://a3.twimg.com/profile_images/1506958638/profiloJPG_normal.jpg","profile_image_url_https":"https://si0.twimg.com/profile_images/1506958638/profiloJPG_normal.jpg","source":"&amp;lt;a href=&amp;quot;http://foursquare.com&amp;quot; rel=&amp;quot;nofollow&amp;quot;&amp;gt;foursquare&amp;lt;/a&amp;gt;","text":"I'm at Burger King (Gallerie Cantoni, Legnano) http://t.co/rU1jIJ4A","to_user":null,"to_user_id":null,"to_user_id_str":null,"to_user_name":null} </code></pre> <p>With these tweets, Foursquare provides a link (like this one: <a href="http://t.co/DIKdYGwD" rel="noreferrer">http://t.co/DIKdYGwD</a>) where I can see the position of the check-in on a map (if I display the link on a webpage). </p> <p>How can I get the latitude and longitude programmaticly directly from the list of tweets?</p> <p>Idea: Do I need to fetch the link on a webpage and analyse it to get the latitude and longitude?</p> <p>EDIT: I don't want to use Twitter geocode</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload