Skip to content

Instantly share code, notes, and snippets.

@nguyenvanduocit
Created May 27, 2013 20:47
Show Gist options
  • Save nguyenvanduocit/5658995 to your computer and use it in GitHub Desktop.
Save nguyenvanduocit/5658995 to your computer and use it in GitHub Desktop.
Facebook Graph API like a object
function addPostLike(objectid)
{
FB.api("/"+objectid+"/likes", function (response) {
data = response['data'];
console.log(data);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment