开发者

Facebook iOS SDK DemoApp shows "Sorry, an error has occurred" even after App ID configuration

I downloaded the Facebook iOS SDK from https://github.com/facebook/facebook-ios-sdk/. I opened th开发者_运维技巧e DemoApp, and I've set my app id in the code and in the application's plist for the url callback. When I run it on both simulator and device, as soon I hit the Login button, it opens up a Safari window displaying "Sorry, an error has occurred." on the Facebook page. My system clock is accurate (this was someone else's issue).

Am I missing something?

Thanks!


Fixed it. I was passing in my app's API Key, not the App ID!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜