安全警告:“请按照您的密码处理上面的URL,不要与任何人分享。在ios [英] SECURITY WARNING:"Please treat the URL above as you would your password and do not share it with anyone. in ios
问题描述
我正在处理包含Facebook登录的应用程序。使用面书登录后,我需要去本机应用程序应用应显示用户名&在脸书里面的图像。但是当我用Facebook登录时显示安全警告:请按照您的密码对待上面的URL,不要与任何人分享。在ios,而不是回到我的本地应用程序。可以任何一个排序这个问题。我正在使用Facebook Graph api的面书。
I am working on app that contains facebook login .After login with face book I need to go to native application & app should display user name & image that was there in face book .But when I am logining with facebook It is showing "SECURITY WARNING:"Please treat the URL above as you would your password and do not share it with anyone. in ios" ,& not coming back to my native app .Can any one sort this issue.I am using Facebook Graph api for face book.
在AppDelegate中: / p>
In AppDelegate:
-(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url{
return [[_viewController facebook] handleOpenURL:url];
}
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
return [[_viewController facebook] handleOpenURL:url];
}
推荐答案
我的ios应用程序也有同样的问题,这是我解决我的问题所做的,我已经在我的应用程序中找到了以下url,并将连接从http更改为https。
I had the same issue with my ios app and this is what i have done to resolve my problem. i have found the below url in my app and changed the connection from http to https.
之前的网址: http://www.facebook.com /connect/login_success.html
已更改网址: https://www.facebook.com/connect/login_success.html
现在运行正常。
这篇关于安全警告:“请按照您的密码处理上面的URL,不要与任何人分享。在ios的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!