4

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

Jurik
  • 3,244
  • 1
  • 31
  • 52

1 Answers1

4

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.

Wayne Kao
  • 8,125
  • 5
  • 30
  • 25
  • 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