Skip to content

Instantly share code, notes, and snippets.

@scripting
Created August 19, 2014 22:22
Show Gist options
  • Save scripting/828144d4a9dda203164c to your computer and use it in GitHub Desktop.
Save scripting/828144d4a9dda203164c to your computer and use it in GitHub Desktop.
A routine that updates a Facebook post.
function fbUpdatePost (idPost, thePostText) {
FB.api (idPost, "post", {message: thePostText}, function (response) {
console.log ("fbUpdatePost: response == " + JSON.stringify (response, undefined, 4));
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment