当我打开一个FBSession(FB SDK 3.0)时,我会收到这个错误:
FBSession: No AppID provided; either pass an AppID to init, or add a string
valued key with the appropriate id named FacebookAppID to the bundle *.plist
我知道可以在.plist文件中添加FacebookAppID的值,但是应该使用什么方法来使用AppId初始化FBSession呢?我尝试使用[FBSession setDefaultAppID],但好像不起作用。