使用新的facebook-ios-sdk无法在iPhone上显示Facebook Connect登录对话框
问题描述:
我正在使用新的新Facebook-ios-sdk来完成README.mdown中通知的所有操作.在运行此应用程序时.它没有显示给我任何东西.但是当我在此处的Fbdialog中保持断点显示时:
I am using new new Facebook-ios-sdk did everything what is informed in README.mdown. while running this app. It didnt showed me anything. But when i kept break point in show in Fbdialog here:
UIWindow* window = [UIApplication sharedApplication].keyWindow;
if (!window) {
window = [[UIApplication sharedApplication].windows objectAtIndex:0];
}
如果有人可以帮助我,那就太好了.
If any one can help me out with this it will be really great.
谢谢, 阿比
答
问题是我们还需要在plist中提供的APPID.
Problem was with the APPID which we also need to provide in the plist.