...
OpenSocial 2.0 supports the ActivityStreams 1.0 specification. OpenSocial also has defined a namespace extension to the ActivityStreams spec which contains OpenSocial specific concepts. The embedded experiences data model can be places inside this namespace extension. Say we have this activity entry.
Code Block |
---|
{
"postedTime": "2011-02-10T15:04:55Z",
"actor": {
"url": "http://example.com/john",
"objectType" : "person",
"id": "tag:example.com,2011:john",
"image": {
"url": "http://example.com/john/image",
"width": 250,
"height": 250
},
"displayName": "John Doe"
}
"verb": "post",
"object" : {
"url": "http://www.youtube.com/v/9gW2YVBrNVA",
"id": "tag:youtube.com,2011:9gW2YVBrNVA"
},
"target" : {
"url": "http://example.org/favorites/",
"objectType": "favoriteslist",
"id": "tag:youtube.com,2011:9gW2YVBrNVA",
"displayName": "John's Favorites"
}
}
|