Take the 2-minute tour ×

I've some page-tabs for a few fanpages and there I'd like to integrate the RequestDialog. But unfortunately it always tries to redirect the friend, that got a request, to the canvas page.

Is there a way to send the user to the page-tab, where his friend initially started the request dialog?

Thanks in advance, Jurik

share|improve this question

1 Answer 1

up vote 4 down vote accepted

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

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

share|improve this answer
Hehehe... seems like window.top.location.href is one of the most used workarounds on facebook ;) - thanks for your answer. –  Jurik Nov 24 '11 at 12:34

Your Answer


