Opening Up Facebook app outside Facebook

大城市里の小女人 提交于 2019-12-13 09:04:57

问题


I have a web app which I am loading in Facebook iframes. The thing is my app opens File Picker which sends backs the data form where it was loaded. But if my web app is inside an iframe it doesn't allow File picker to communicate back due to security reasons.

So what I am doing it when the users on my FB page click on my app I take them out of the facebook and open my web app in browser. This thing works perfectly in Android or on my Windows. But in Iphone it doesn't takes the app outside and doesn't open it in the browser.

Do you know why? Is there a solution for it?


回答1:


Seems the problem is a security feature of the browser's popup blocker. It treats the window as a popup if it occurs outside of the callback of a user interaction. It therefore gets buckets as a popup and blocked. Unfortunately, iOS Safari gives absolutely no indication of this, making the issue difficult to track down.



来源:https://stackoverflow.com/questions/24287646/opening-up-facebook-app-outside-facebook

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