The canvas page is required because Facebook needs to know where to redirect the user that clicked on your request. We use a homepage about the app where the user can download it.
Hi editor,
FYI, when I submitted my app to Facebook, it was rejected because I was not allowed to submit the Canvas as it was (because Facebook wants you to use the canvas for an actual web game, and I only had an ad page with a link to my Game).
So, I had to turn off my Canvas and then my app was accepted. But when I turned off the Canvas, my invitations stopped working.
So I turned on the Canvas again, but I did not re-submit to Facebook. Then everything worked again.
Jorge
Hi editor,
FYI, when I submitted my app to Facebook, it was rejected because I was not allowed to submit the Canvas as it was (because Facebook wants you to use the canvas for an actual web game, and I only had an ad page with a link to my Game).
So, I had to turn off my Canvas and then my app was accepted. But when I turned off the Canvas, my invitations stopped working.
So I turned on the Canvas again, but I did not re-submit to Facebook. Then everything worked again.
Jorge
Hi,
The below snippet is allows to send requests, But they are not getting any message along with request.
Please let me know, if anything is missing .
function fblistener( event )
if ( “session” == event.type ) then
– upon successful login, request list of friends
if ( “login” == event.phase ) then
facebook.showDialog( “apprequests”,{message = “Try this Game!”})
end
elseif ( “dialog” == event.type ) then
end
end
facebook.login( “XXXXXXXXXXXXXXXX”, listener )
Thanks,
Nirosha
Hi,
The below snippet is allows to send requests, But they are not getting any message along with request.
Please let me know, if anything is missing .
function fblistener( event )
if ( “session” == event.type ) then
– upon successful login, request list of friends
if ( “login” == event.phase ) then
facebook.showDialog( “apprequests”,{message = “Try this Game!”})
end
elseif ( “dialog” == event.type ) then
end
end
facebook.login( “XXXXXXXXXXXXXXXX”, listener )
Thanks,
Nirosha