Im using this Docu and Script to send an app request to some friends.
https://developers.facebook.com/docs/reference/dialogs/requests/
FB.ui({
method: 'apprequests',
message: 'My message',
max_recipients: 3
}, requestCallback);
Its working fine but if they click the Link in the FB notification bar they dont get linked directly to my page and app. Instead they are at a "step between". The app is visible in an iframe with less than 810px and no like button (so the design is broken and the like gate cant be deactivated.
This are the link parameters:
/?fb_source=notification&request_ids=1234567890&ref=notif&app_request_type=user_to_user¬if_t=app_request
Where is the problem? Why is FB not linking the user to the app in page directly?
I guess the solution is somewhere in the App settings maybe... but i dont know.
Citing Requests documentation:
Accepting a request will direct the user to the Canvas Page URL of the app that sent the Request.
That is, once user accept request he will be landed to your application canvas (which is 720 pixels wide).
This is desired behavior and there are additional arguments passed to Canvas URL to provide details about request.
fb_source
- indicate where user accepted request fromrequest_ids
- provide comma separated ids of requests user is acceptingOnce user landing to your application by accepting request you are free do issue additional redirection to the desired page.
Check out your app Settings:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With