Skip to content

Instantly share code, notes, and snippets.

@tjohns
Last active December 14, 2015 15:19
Show Gist options
  • Save tjohns/5107293 to your computer and use it in GitHub Desktop.
Save tjohns/5107293 to your computer and use it in GitHub Desktop.
Sample Google+ interactive post, retrieved via API
{
"kind": "plus#activity",
"etag": "\"TJ4YjXUi1XCM_G3FJ4uiPX8m6Fk/n9YjVnPuyW8gIfmE8SA3G0AkEAQ\"",
"title": "This is a test public interactive post to explore the Google+ API. Please ignore it. This will be deleted momentarily...",
"published": "2013-03-07T10:59:09.293Z",
"updated": "2013-03-07T10:59:09.293Z",
"id": "z12qcn5obvqts1ci104chv3iauvmz3r4lok0k",
"url": "https://plus.google.com/114249855229891870149/posts/ZKquCvZxAgT",
"actor": {
"id": "114249855229891870149",
"displayName": "Trevor Johns",
"url": "https://plus.google.com/114249855229891870149",
"image": {
"url": "https://lh4.googleusercontent.com/-cgw6AnL65Rc/AAAAAAAAAAI/AAAAAAAAAIY/th8W_DW7vTA/photo.jpg?sz=50"
}
},
"verb": "post",
"object": {
"objectType": "note",
"content": "This is a test public interactive post to explore the Google+ API. Please ignore it. This will be deleted momentarily. :)",
"url": "https://plus.google.com/114249855229891870149/posts/ZKquCvZxAgT",
"replies": {
"totalItems": 0,
"selfLink": "https://www.googleapis.com/plus/v1/activities/z12qcn5obvqts1ci104chv3iauvmz3r4lok0k/comments"
},
"plusoners": {
"totalItems": 0,
"selfLink": "https://www.googleapis.com/plus/v1/activities/z12qcn5obvqts1ci104chv3iauvmz3r4lok0k/people/plusoners"
},
"resharers": {
"totalItems": 0,
"selfLink": "https://www.googleapis.com/plus/v1/activities/z12qcn5obvqts1ci104chv3iauvmz3r4lok0k/people/resharers"
},
"attachments": [
{
"displayName": "Sharing interactive posts",
"url": "https://developers.google.com/+/web/share/interactive",
"image": {
"url": "https://developers.google.com/+/images/interactive_posts.png"
}
}
]
},
"provider": {
"title": "Google+ documentation code samples"
},
"access": {
"kind": "plus#acl",
"description": "Public",
"items": [
{
"type": "public"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment