简体   繁体   English

面书iPhone中最新的IOS SDK问题?

[英]Face book latest IOS SDK problems in iPhone?

I am working in face book functionality in my apps. 我正在我的应用程序中使用脸书功能。 I have integrated the latest Face book-IOS-SDK . 我已经集成了最新的Face book-IOS-SDK When runs the application, the application is started and runs in the safari browser. 运行该应用程序时,该应用程序将启动并在野生动物园浏览器中运行。 Now I want to load the application in the user view(FB web view) instead of Safari. 现在,我想在用户视图(FB Web视图)而不是Safari中加载应用程序。 How can I achieve this? 我该如何实现?

Facebook doesn't want you to. Facebook不想要您。 Facebook's new SDK wants the user to login into Facebook once, and than that Facebook login be used in every app on the device that uses Facebook. Facebook的新SDK希望用户登录一次Facebook,然后在使用Facebook的设备上的每个应用中都使用Facebook登录。 Because of the way the iPhone works, the way they had to do that was through safari so that each app could get that info. 由于iPhone的工作方式,他们必须通过野生动物园进行操作,以便每个应用程序都可以获取该信息。 You can go back to the original way (which so far I personally prefer), but I'm not entirely sure how. 您可以回到原始方式(到目前为止,我个人更喜欢这种方式),但我不确定如何做到。

However, if you use the new way, it will automatically redirect the user back to your app once they finish authenticating it. 但是,如果使用新方法,则一旦用户完成身份验证,它将自动将用户重定向回您的应用程序。 Also in the Safari page they can give your app permissions, ie. 同样,在Safari页面中,他们可以授予您的应用权限,即。 post status updates. 发布状态更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM