Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save gnip/764246 to your computer and use it in GitHub Desktop.

Select an option

Save gnip/764246 to your computer and use it in GitHub Desktop.
Twitter Sample Payload with Geo Info - JSON format
{
"coordinates": {
"coordinates": [
-105.2746654,
40.0191219
],
"type": "Point"
},
"created_at": "Mon Jan 03 17:48:08 +0000 2011",
"favorited": false,
"truncated": false,
"id_str": "21986181948379136",
"in_reply_to_user_id_str": null,
"contributors": null,
"text": "For some reason I find it pretty easy to remember to write '2011' rather than '2010' this year.",
"id": 21986181948379136,
"retweet_count": 0,
"in_reply_to_status_id_str": null,
"geo": {
"coordinates": [
40.0191219,
-105.2746654
],
"type": "Point"
},
"retweeted": false,
"in_reply_to_user_id": null,
"in_reply_to_screen_name": null,
"user": {
"profile_sidebar_fill_color": "7AB317",
"name": "Nick howard",
"profile_sidebar_border_color": "A0C55F",
"profile_background_tile": true,
"created_at": "Fri Mar 28 22:14:17 +0000 2008",
"profile_image_url": "http://a1.twimg.com/profile_images/1154659940/tw_profile_normal.jpg",
"location": "Boulder, CO",
"is_translator": false,
"id_str": "14247442",
"profile_link_color": "0D6759",
"follow_request_sent": false,
"contributors_enabled": false,
"url": "http://blog.baroquebobcat.com",
"favourites_count": 192,
"utc_offset": -25200,
"id": 14247442,
"listed_count": 18,
"profile_use_background_image": true,
"profile_text_color": "2A044A",
"protected": false,
"followers_count": 219,
"lang": "en",
"notifications": false,
"profile_background_color": "0B2E59",
"geo_enabled": true,
"verified": false,
"description": "Am interested in CS:AI, Web, identity Also I like to fence, sing and play video games ",
"time_zone": "Mountain Time (US & Canada)",
"friends_count": 329,
"statuses_count": 2354,
"profile_background_image_url": "http://a3.twimg.com/profile_background_images/86430878/x74b84835f924eee16d816b62996aeed.png",
"following": false,
"screen_name": "baroquebobcat",
"show_all_inline_media": false
},
"source": "<a href=\"http://geo-tweeter.heroku.com/\" rel=\"nofollow\">geo tweeter</a>",
"place": {
"name": "Downtown",
"country": "United States",
"country_code": "US",
"attributes": {
},
"url": "http://api.twitter.com/1/geo/id/9be2ad0f7f091494.json",
"id": "9be2ad0f7f091494",
"bounding_box": {
"coordinates": [
[
[
-105.295899,
40.013625
],
[
-105.271683,
40.013625
],
[
-105.271683,
40.020434
],
[
-105.295899,
40.020434
]
]
],
"type": "Polygon"
},
"full_name": "Downtown, Boulder",
"place_type": "neighborhood"
},
"in_reply_to_status_id": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment