Jump to content

Share with friends in Facebook Instance API


Recommended Posts

 have game on Phaser 2, I start integrate it in Facebook. And have some problem with function that allow user to share with friends.

1)Here example of code:

let msg = 'Try this game'
      intent: "REQUEST",
      text: "Hey I'm stuck on this target! Can you help me?",
      data: {myReplayData:msg}
    }).then(() => {
        console.log("Success share");
        this.resumeGame = true;

2) Here my error:

POST https://m.facebook.com/games/quicksilver/share_score/ 500
ErrorUtils caught an error: "Cannot read property 'message' of null". Subsequent errors won't be logged; see https://fburl.com/debugjs.

Please help with it. Thanks.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...