Monday, December 1, 2014

UE4 IOS FB Integration

critical steps required for ue4 integration with fb sdk (as a check list)

  • get the ue4 source
  • get facebook sdk
  • add #import <FacebookSDK.h>
  • Important issue, that I missed (the facebook sdk will not call completion handler):
    http://stackoverflow.com/questions/16730408/facebook-ios-sdk-not-calling-completion-handler-when-authorized-app
  • some (or most of) FacebookSDK documents are deprecated... but some seems to work fine.
    https://developers.facebook.com/docs/ios/share?locale=en_GB
  • ensure that Core.build.cs, and [yourproject].build.cs includes the Facebook SDK framework I used:
  • PublicAdditionalLibraries.Add("[FacebookSDK.framework's path]/Versions/A/FacebookSDK");
  • PublicSystemIncludePaths.Add("[FacebookSDK.framework's path]/Versions/A/Headers");


--