开发者

iPhone SDK Facebook DemoApp not startable

I feel like an idiot right now as I tried to run the DemoApp which is coming with the default facebook sdk for the iphone.

I registered a new application in facebook, took he application id and added it to he DemoAppViewConroller.m like this:

static NSString* kAppId = @"175223790000000";

Then I changed the following in the DemoApp-Info.plist:

URL types - Item 0 - URL Schemes - Item 0 = fb[175223790000000]

Now the app crashes everytime it tries to start. There is no warning thrown.

Does anyone know what I do wrong?

Thx and 开发者_StackOverflow社区cheers doonot


Please remove the square brackets from URL scheme:

URL types - Item 0 - URL Schemes - Item 0 = fb175223790000000

Cheers.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜