Using SLRequest in iOS 6 with Facebook

独自空忆成欢 提交于 2019-11-30 10:32:45

In my case, to resolve this, I register the Bundle ID in the properties of my APP on facebook.

Edit your APP on facebook and look for "Select how your app integrates with Facebook" and register the Bundle ID of your project on "iOS Bundle ID" in "Native iOS App".

If not your case, try to read the error message:

if(granted) {
    ...
}
else {
    NSLog([NSString stringWithFormat:@"%@", error.localizedDescription]);
}

if error.code == 6, then this is the error message that will appear if the user has not signed into Facebook from Settings app.

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