简体   繁体   English

facebook 授权:打开 Safari.app 如何获得应用内对话框?

[英]facebook authorize: opening Safari.app how do I get an in-app dialog?

I need to get some permissions for my Facebook implementation, however when I call the following method on my Facebook object, I'm being sent to Safari.app, but I've seen apps have a dialog for this, and that's what I want... How can I get a dialog as opposed to being sent to Safari? I need to get some permissions for my Facebook implementation, however when I call the following method on my Facebook object, I'm being sent to Safari.app, but I've seen apps have a dialog for this, and that's what I want ...我怎样才能得到一个对话而不是被发送到 Safari?

[facebook authorize:permissions delegate:self];

In the Facebook.m file, change [self authorizeWithFBAppAuth:YES safariAuth:YES];在 Facebook.m 文件中,更改[self authorizeWithFBAppAuth:YES safariAuth:YES]; to [self authorizeWithFBAppAuth:NO safariAuth:NO];[self authorizeWithFBAppAuth:NO safariAuth:NO];

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

相关问题 Facebook授权应用程序中的对话框不在Safari中 - Facebook authorize dialog in app not in safari 如何从UIWebView打开safari.app中的外部链接? - How can I open external links in safari.app from UIWebView? Facebook SSO在野生动物园中授权,但在Facebook应用中未授权 - Facebook SSO authorize in safari but not in facebook app FBSDKLog:无法使用Facebook应用程序或Safari进行授权, - FBSDKLog: Cannot use the Facebook app or Safari to authorize, 在Safari中打开链接时如何将用户重定向到应用程序? - How do I redirect a User to the app when opening a link in Safari? 为什么 Apple Xcode iOS Simulator 会丢失 Safari.app? - Why does Apple Xcode iOS Simulator lose the Safari.app? 如何制作在Safari中为iOS Facebook Messenger Messenger应用而不是应用内网络浏览器打开的URL - How to make url that open in Safari for iOS Facebook Messenger app instead of in-app web browser 如何在iOS的“应用内购买”对话框中省略产品的数字限定符? - How do I ommit the numerical qualifer for my product in iOS's In-App Purchase dialog? Facebook IOS应用内登录对话框未隐藏密码 - Facebook IOS in-app login dialog not hiding password Facebook iOS应用程序-如何了解授权我的Facebook应用程序的用户 - Facebook iOS app - How to know the users that authorize my Facebook app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM