Skip to content

Instantly share code, notes, and snippets.

@dominiek
Created June 29, 2011 14:59
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 dominiek/1054006 to your computer and use it in GitHub Desktop.
Save dominiek/1054006 to your computer and use it in GitHub Desktop.
Unified activity stream format
[{ provider:
{ id: 'facebook',
displayName: 'Facebook',
url: 'http://facebook.com/' },
published: '2011-06-29T14:56:58+0000',
actor:
{ objectType: 'person',
id: '653038898',
displayName: 'Justin McCurry',
image: { url: 'https://graph.facebook.com/653038898/picture' } },
id: 'fb653038898_10150297867083899',
verb: 'post',
title: 'My former editor at the Yomiuri took me on a culinary tour of Ningyocho in Tokyo this evening, starting with sashimi from the first bonito catch to land at Kesennuma since the tsunami. It didn\'t stay on my plate for long.',
object: 'fb10150297867038899' },
{ provider:
{ id: 'twitter',
displayName: 'Twitter',
url: 'http://twitter.com/' },
published: 'Wed Jun 29 14:57:11 +0000 2011',
actor:
{ objectType: 'person',
id: 17426530,
displayName: 'ReggieMiddleton',
image: { url: 'http://a2.twimg.com/profile_images/1376735247/reggie-laughing_normal.png' } },
id: 'tw86085812814479428',
verb: 'post',
title: 'Actual investors are not going for the market to fantasy shenanigans. Actually, the BofA settlement proves M2M is real http://bit.ly/iC1Y3h',
object:
{ id: 'tw86085812814479428',
content: 'Actual investors are not going for the market to fantasy shenanigans. Actually, the BofA settlement proves M2M is real http://bit.ly/iC1Y3h',
objectType: 'note' } }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment