Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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