Skip to content

Instantly share code, notes, and snippets.

@drewtang
Created July 9, 2013 00:32
Show Gist options
  • Save drewtang/5953703 to your computer and use it in GitHub Desktop.
Save drewtang/5953703 to your computer and use it in GitHub Desktop.
POST to "https://www.yammer.com/api/v1/activity.json?access_token=<my valid access token>"
{
"activity":{
"actor":{
"email":"[email protected]",
"name":"Chris Pal"
},
"action":"pawdev:attend",
"object":{
"url":"https://localhost:44302/",
"type":"pawdev:training",
"title":"Yammer development training",
"image":"https://localhost:44302/images/yammer-signin.gif",
"description":"Yammer platform in 8 hours"
},
"private":false,
"message":null,
"users":null
}
}
HTTP/1.1 400 Bad Request
...
{"errors":["Missing required param \"activity\""]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment