[英]FBSDKGraphRequest FBSDKGraphRequestConnection only in iOS 9 return error
這是iOS 9.0.1的登錄成功。
這是iOS 9 iPhone的登錄失敗。
在iOS 9 iPhone中,我有以下警告:
sdk更新以從此處將1.8.5和Facebook解析為4.6: https : //developers.facebook.com/docs/ios/ios9
我該怎么解決?
Facebook登錄使用PFFacebookUtils logInInBackgroundWithReadPermissions:
NSArray *permissions = [NSArray arrayWithObjects:@"email",@"user_friends", nil];
[PFFacebookUtils logInInBackgroundWithReadPermissions:permissions block:^(PFUser *user, NSError *error)
{
if (!user) // The user cancelled the Facebook login
{
NSLog(@"Uh oh. The user cancelled the Facebook login.");
}
else if (user.isNew)
{
}
else if (user) // the user is exist at DB
{
}
else if (error)
{
}
}];
您是否已在您的列表中添加了這些參數?
<key>FacebookAppID</key>
<string>YourFBKey</string>
<key>FacebookDisplayName</key>
<string>moodoo</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fbapi20130214</string>
<string>fbapi20130410</string>
<string>fbapi20130702</string>
<string>fbapi20131010</string>
<string>fbapi20131219</string>
<string>fbapi20140410</string>
<string>fbapi20140116</string>
<string>fbapi20150313</string>
<string>fbapi20150629</string>
<string>fbauth</string>
<string>fbauth2</string>
<string>fb-messenger-api20140430</string>
<string>fb-messenger-platform-20150128</string>
<string>fb-messenger-platform-20150218</string>
<string>fb-messenger-platform-20150305</string>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.