Can't post a message on the wall of facebook.

Hello. I did not post a message on the wall of facebook. I created an application that needs to place a message, but nothing happens and I can not understand why?

My souce code main.lua:

local rect1 = display.newRect(0, 0, display.contentWidth, display.contentHeight); local btnFB = display.newImage("f1.png"); btnFB.x = display.contentWidth / 2; btnFB.y = display.contentHeight / 2; local btn = display.newImage("f2.png"); btn.isVisible = false; btn.x = btnFB.x; btn.y = btnFB.y; local appID = "1409374992622806"; local GGFacebook = require( "GGFacebook" ); local function listener( event ) if ( "session" == event.type ) then if ( "login" == event.phase ) then facebook.request( "me/friends" ); end; elseif ( "request" == event.type ) then local response = event.response print( response ); end; end; function ConnectFB (event) if event.phase == "began" then btn.isVisible = true; end; if event.phase == "ended" then btn.isVisible = false; local facebook = GGFacebook:new( appID, listener, {"publish\_stream"} ); facebook:login(); local options = { message = "Check out this link!", link = "http://www.glitchgames.co.uk", name = "Glitch Games" } facebook:post( options ); facebook:logout(); facebook:destroy(); facebook = nil; end; end; btnFB:addEventListener("touch", ConnectFB);

Аuthentication is successful, but the message still does not send. Help me, please.

According to the docs, you need to enable Deep Linking.

All problem with Key Hash. I don’t now Why, but key “JGn9F2vDQ/w6hexLxdefCUpxYIA” is worked!

Getting your key hash right is the biggest problem with Facebook and Android.

According to the docs, you need to enable Deep Linking.

All problem with Key Hash. I don’t now Why, but key “JGn9F2vDQ/w6hexLxdefCUpxYIA” is worked!

Getting your key hash right is the biggest problem with Facebook and Android.