0

I use FacebookSDKs-iOS-4.28.0 and developer facebook page suggest this lines of code to sharing;

FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
content.contentURL = [NSURL URLWithString:@"www.lcwaikiki.com"];
[FBSDKShareDialog showFromViewController:self withContent:content delegate:self];

However when code comes to [FBSDKShareDialog showFromViewController:self withContent:content delegate:self]; code line application CRASH with SIGABRT

Anyone has any information to solve above mentioned CRASH case?

Thanks All.

oakt
  • 117
  • 10

1 Answers1

0

I found solution about above mentioned CRASH problem.

If your iOS application base SDK<=iOS9, you must add "fbauth2","fbapi" etc. under the LSApplicationQueriesSchemes into .plist file.

You can deep into Facebook SDK iOS9 guide

oakt
  • 117
  • 10