facebook app getting redirected out canvas view

前端 未结 4 2082

i am using iframe to render my app from my server. the problem is once i click on a link in my app, i am being redirected to my server. i mean, i remain in tha canvas page for a

4条回答
  •  别那么骄傲
    2021-01-25 15:09

    http://www.facebook.com/login.php?v=1.0&api_key="xxxxx"&next=http://someurl.com/user.php&canvas=1";

    adding canvas=1 seems to do the trick. Keeps it within the canvas and doesn't open the callback url.

提交回复
热议问题