Skip to content

Instantly share code, notes, and snippets.

@robjohnson
Created November 15, 2010 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robjohnson/700097 to your computer and use it in GitHub Desktop.
Save robjohnson/700097 to your computer and use it in GitHub Desktop.
Gnip Retweet Tweet Schema in Activity Streams JSON
{
"verb": "share",
"postedTime": "2010-10-21T16:03:11+00:00",
"body": "RT @Alterian: Woot! @Alterian recognized in leading analyst firm's Magic Quadrant for Enterprise Marketing Management... http://fb.me/z3 ...",
"twitter_entities": {
"urls": [
{
"expanded_url": null,
"url": "http://fb.me/z3",
"indices": [
121,
136
]
}
],
"hashtags": [
],
"user_mentions": [
{
"name": "Alterian",
"id_str": "33475580",
"id": 33475580,
"indices": [
3,
12
],
"screen_name": "Alterian"
},
{
"name": "Alterian",
"id_str": "33475580",
"id": 33475580,
"indices": [
20,
29
],
"screen_name": "Alterian"
}
]
},
"actor": {
"location": {
"displayName": "Boulder, CO",
"objectType": "place"
},
"postedTime": "2008-10-24T23:22:09+00:00",
"displayName": "Gnip, Inc.",
"preferredUsername": "gnip",
"utcOffset": -25200,
"objectType": "person",
"statusesCount": 302,
"languages": [
"en"
],
"listedCount": 23,
"links": [
{
"href": "http://blog.gnip.com",
"rel": "me"
}
],
"friendsCount": 71,
"followersCount": 260,
"summary": "Gnip makes it really easy for you to collect social data for your business.",
"link": "http://twitter.com/gnip",
"image": "http://a3.twimg.com/profile_images/62803643/icon_normal.png"
},
"objectType": "activity",
"id": "tag:search.twitter.com,2005:28039685128",
"link": "http://twitter.com/gnip/statuses/28039685128",
"generator": {
"displayName": "web",
"link": "http://twitter.com"
},
"object": {
"verb": "post",
"postedTime": "2010-10-21T15:55:38+00:00",
"body": "Woot! @Alterian recognized in leading analyst firm's Magic Quadrant for Enterprise Marketing Management... http://fb.me/z3cDQNC3",
"entities": {
"urls": [
{
"expanded_url": null,
"url": "http://fb.me/z3cDQNC3",
"indices": [
107,
128
]
}
],
"hashtags": [
],
"user_mentions": [
{
"name": "Alterian",
"id_str": "33475580",
"id": 33475580,
"indices": [
6,
15
],
"screen_name": "Alterian"
}
]
},
"actor": {
"location": {
"displayName": "HQ Bristol, UK",
"objectType": "place"
},
"postedTime": "2009-04-20T10:21:26+00:00",
"displayName": "Alterian",
"preferredUsername": "Alterian",
"utcOffset": 0,
"objectType": "person",
"statusesCount": 612,
"languages": [
"en"
],
"listedCount": 117,
"links": [
{
"href": "http://www.alterian.com",
"rel": "me"
}
],
"friendsCount": 1768,
"followersCount": 1383,
"summary": "Alterian combines analytics, database marketing, email, content management, and social media monitoring enabling companies to better engage with the individual",
"link": "http://twitter.com/Alterian",
"image": "http://a1.twimg.com/profile_images/563751337/eye_64x64_normal.gif"
},
"objectType": "activity",
"id": "tag:search.twitter.com,2005:28039053935",
"link": "http://twitter.com/Alterian/statuses/28039053935",
"generator": {
"displayName": "Facebook",
"link": "http://www.facebook.com/twitter"
},
"object": {
"postedTime": "2010-10-21T15:55:38+00:00",
"id": "tag:search.twitter.com,2005:28039053935",
"objectType": "note",
"link": "http://twitter.com/Alterian/statuses/28039053935",
"summary": "Woot! @Alterian recognized in leading analyst firm's Magic Quadrant for Enterprise Marketing Management... http://fb.me/z3cDQNC3"
},
"provider": {
"displayName": "Twitter",
"objectType": "service",
"link": "http://www.twitter.com"
}
},
"provider": {
"displayName": "Twitter",
"objectType": "service",
"link": "http://www.twitter.com"
}
}
@ankitjaininfo
Copy link

Is that the nested "object" property is the actual tweet which is retweeted in this JSON representation?

@ankitjaininfo
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment