Queries Does the dialog only work with Canvas-View?

I have several tab pages for several fanpages, and I would like to integrate RequestDialog. But, unfortunately, he always tries to redirect the friend who received the request to the canvas page.

Is there a way to send a user to a tab page where his friend first started a query dialog?

Thanks in advance, Jurik

+4
source share
1 answer

Accepting a request will always go to the canvas page with the request_ids parameter added. See the Custom Response section of this document: https://developers.facebook.com/docs/reference/dialogs/requests/

Obviously, you can write code to detect when the user comes with the request_ids parameter and is redirected to another page, for example, the Page tab, for example, by setting window.top.location.href in JavaScript inside your canvas iframe.

+4
source

All Articles