How to authorize Facebook app using redirect in canvas?

前端 未结 4 1622
猫巷女王i
猫巷女王i 2020-12-08 12:30

I\'m trying to get into making Facebook apps but I\'m having trouble getting authorization working in a redirect scheme inside the canvas.

Using the javascript api,

4条回答
  •  清歌不尽
    2020-12-08 13:04

    The problem is that server side redirection is only redirecting your inner app frame instead of redirecting the whole page, and Facebook doesn't like displaying their system dialogs inside frames.

    You would need some client side redirection, probably something along those lines:

    
    

提交回复
热议问题