IPhone SDK Facebook DemoApp not starting

I feel like an idiot right now when I tried to launch DemoApp, which comes with a standard facebook sdk for iphone.

I registered a new application on facebook, took its application id and added it to DemoAppViewConroller.m as follows:

static NSString* kAppId = @"175223790000000";

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

URL Types - Item 0 - URL Schemas - Item 0 = fb[175223790000000]

Now the application crashes every time it tries to start. A warning is not issued.

Does anyone know what I'm doing wrong?

thanks and greetings doonot

+3
source share
1 answer

Remove the square brackets from the URL scheme: URL

types - Item 0 - URL schemes - Item 0 = fb175223790000000

Greetings.

+2
source

Source: https://habr.com/ru/post/1795620/


All Articles