Skip to content

Instantly share code, notes, and snippets.

@brianly
Created August 13, 2013 19:41
Show Gist options
  • Save brianly/6224895 to your computer and use it in GitHub Desktop.
Save brianly/6224895 to your computer and use it in GitHub Desktop.
Example JSON activity stream post to https://www.yammer.com/api/v1/activity.json.
{
"activity": {
"actor": {
"name": "Brian Lyttle",
"email": "[email protected]"
},
"action": "yammermvc:publish",
"object": {
"url": "http://localhost:33128/media/detail?id=33",
"description": "",
"video": {
"width": 1,
"height": 1
},
"type": "yammermvc:photo",
"title": "A test object",
"image": "https://mug0.assets-yammer.com/mugshot/images/75x75/LBZq1qTjmSd9XkzdkNJnRKCVGQD38MF6"
},
"private": "false",
"message": "",
"users": null
}
}
@pwneddesal
Copy link

hi i got {"errors":["Missing required param "activity""]} this error ?? can you help me

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