Find Facebook SDK Version on iOS

After about 2014, simply do this:

NSLog( @"### running FB sdk version: %@", [FBSDKSettings sdkVersion] );

For very old versions. Before about 3.6:

I found an undocumented way to print the SDK version (FB_IOS_SDK_VERSION_STRING), try this

NSLog(@"### FB SDK VERSION : %@",
    [[FBRequestConnection class] performSelector:@selector(userAgent)]);

Worked for me with sdk 3.5.1


Update: As of FB SDK 3.6, “The SDK version number is defined in FacebookSDK.h and available from [FBSDKSettings sdkVersion]”

https://developers.facebook.com/ios/change-log-3.x/

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)