开发者

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

开发者 https://www.devze.com 2023-02-08 00:24 出处:网络
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 u

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

精彩评论

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