// Load the image file
var imageResource = gapi.hangout.av.effects.createImageResource(
'http://your image file');
// Create the overlay
var overlay = imageResource.createFaceTrackingOverlay({
trackingFeature: gapi.hangout.av.effects.FaceTrackingFeature.NOSE_TIP,
scaleWithFace: true,
rotateWithFace: true
});
overlay.setVisible(true);
// Load an audio file
var audioResource = gapi.hangout.av.effects.createAudioResource(
'http://your audio file');
// Play the sound
var sound = audioResource.play();
{
"kind": "plus#activityFeed",
"title": "Plus Search for cookie recipes",
"updated": "2011-09-30T16:57:34.479Z",
"id": "tag:google.com,2010:buzz-search-feed:x4rIYTKpR7NZCL8Id8RHXQ",
"items": [
{
"kind": "plus#activity",
“id”: “123”,
"title": "You have to try these out.",
"object": {
"objectType": "note",
"content": "I’m baking halloween cookies!",
},
{
"kind": "plus#activity",
“id”: “456”,
"title": "Cookies",
"object": {
"objectType": "note",
"content": "Cookies and milk for dinner. Don’t judge me.",
},
]
}GET https://www.googleapis.com/plus/v1/people?query=vic%20gundotra&key=[yourAPIKey]
No comments:
Post a Comment