Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gnip/763976 to your computer and use it in GitHub Desktop.
Save gnip/763976 to your computer and use it in GitHub Desktop.
This is a sample payload for Gnip's premium feeds from Twitter in JSON Activity Streams format.
{
"verb": "post",
"location": {
"country_code": "United States",
"displayName": "Downtown, Boulder",
"objectType": "place",
"geo": {
"coordinates": [
[
[
-105.295899,
40.013625
],
[
-105.271683,
40.013625
],
[
-105.271683,
40.020434
],
[
-105.295899,
40.020434
]
]
],
"type": "Polygon"
},
"streetAddress": null,
"link": "http://api.twitter.com/1/geo/id/9be2ad0f7f091494.json"
},
"postedTime": "2011-01-03T17:48:08+00:00",
"body": "For some reason I find it pretty easy to remember to write '2011' rather than '2010' this year.",
"actor": {
"location": {
"displayName": "Boulder, CO",
"objectType": "place"
},
"postedTime": "2008-03-28T22:14:17+00:00",
"displayName": "Nick howard",
"preferredUsername": "baroquebobcat",
"utcOffset": -25200,
"objectType": "person",
"statusesCount": 2354,
"languages": [
"en"
],
"listedCount": 18,
"links": [
{
"href": "http://blog.baroquebobcat.com",
"rel": "me"
}
],
"friendsCount": 329,
"followersCount": 219,
"summary": "Am interested in CS:AI, Web, identity Also I like to fence, sing and play video games ",
"link": "http://twitter.com/baroquebobcat",
"image": "http://a1.twimg.com/profile_images/1154659940/tw_profile_normal.jpg"
},
"objectType": "activity",
"id": "tag:search.twitter.com,2005:21986181948379136",
"geo": {
"coordinates": [
40.0191219,
-105.2746654
],
"type": "Point"
},
"link": "http://twitter.com/baroquebobcat/statuses/21986181948379136",
"generator": {
"displayName": "geo tweeter",
"link": "http://geo-tweeter.heroku.com/"
},
"object": {
"postedTime": "2011-01-03T17:48:08+00:00",
"id": "tag:search.twitter.com,2005:21986181948379136",
"objectType": "note",
"link": "http://twitter.com/baroquebobcat/statuses/21986181948379136",
"summary": "For some reason I find it pretty easy to remember to write '2011' rather than '2010' this year."
},
"provider": {
"displayName": "Twitter",
"objectType": "service",
"link": "http://www.twitter.com"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment