Skip to content

Instantly share code, notes, and snippets.

@scripting
Created August 19, 2014 22:22
Show Gist options
  • Select an option

  • Save scripting/828144d4a9dda203164c to your computer and use it in GitHub Desktop.

Select an option

Save scripting/828144d4a9dda203164c to your computer and use it in GitHub Desktop.

Revisions

  1. scripting created this gist Aug 19, 2014.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    function fbUpdatePost (idPost, thePostText) {
    FB.api (idPost, "post", {message: thePostText}, function (response) {
    console.log ("fbUpdatePost: response == " + JSON.stringify (response, undefined, 4));
    });
    }