I am working on an app which will publish open graph stories and will publish sentences like “xx completed a stage in nameofgame”. I have set up “Complete” as an action type and “Stage” as an object type. I tried to use this:
local postMsg = { stage=“http://samples.ogp.me/xxxxxxxxxxx4287” }
facebook.request( “me/nameofgame:complete”, “POST”, postMsg)
but when the game is supposed to post the message, there is no pop up dialog box to let the user share the story, only the dialog box for logging in to Facebook. Then when I checked my Facebook, the story is posted there but I did not get to choose whether to post it. Furthermore, the title came out as “Sample stage” and I cannot specify which stage.
Can anyone advise on how to get the dialog box out and what is the correct way of using open graph? Or does anyone know of any good tutorial to incorporate open graph stories with Corona?
Thanks!