iPhone Web App on Home Screen + Facebook Authenticate

≡放荡痞女 提交于 2019-12-06 03:36:39

Tried target="_webapp", target="_blank", etc none of those worked for me.

This bit of javascript worked just fine for me:

<a href="#" onclick="window.open('<put your facebook login URL here>','_parent'); ...

It is doing this to verify the Facebook login session. Currently, you cannot avoid this since your web app must go to Facebook dialog anyway to have the user login if they haven't already.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!