Facebook SDK for Unity Changelog

List of changes and fixes to the Facebook SDK for Unity.

Apr 12, 2021

facebook-unity-sdk-9.1.0.zip - Facebook SDK 9.1.0

v9.1.0 Facebook SDK

Modified:

  • Added Limited Login support for user_friends, user_birthday and user_age_range permissions under public beta.
  • Shared Profile instance will be populated with FriendIDs, Birthday and AgeRange fields using the claims from the AuthenticationToken. (NOTE: FriendIDs, Birthday and AgeRange fields are in public beta mode).
  • Added EnableProfileUpdatesOnAccessTokenChange as part of fixing a bug where upgrading from limited to regular login would fail to fetch the profile using the newly available access token.

Jan 19, 2021

facebook-unity-sdk-9.0.0.zip - Facebook SDK 9.0.0

v9.0.0 Facebook SDK

Modified:

  • Limited Login. Please read the blog post and docs for a general overview and implementation details.
  • The default Graph API version is updated to v9.0

Nov 13, 2020

facebook-unity-sdk-8.1.1.zip - Facebook SDK 8.1.1

v8.1.1 Facebook SDK

Modified:

  • Bug fix

Oct 20, 2020

facebook-unity-sdk-8.1.0.zip - Facebook SDK 8.1.0

v8.1.0 Facebook SDK

Modified:

  • Avoid adding swift standard libs
  • Fixed AndroidSdk path detection in Unity 2019 and above

Sep 28, 2020

facebook-unity-sdk-8.0.0.zip - Facebook SDK 8.0.0

v8.0.0 Facebook SDK

Modified:

  • Added method SetAdvertiserTrackingEnabled to overwrite the advertiser_tracking_enabled flag
  • Bumped native SDK version to 8.0.0
  • Bumped Graph API version to 8.0
  • Fixed lock up issue in Facebook Login

Aug 14, 2020

facebook-unity-sdk-7.21.2.zip - Facebook SDK 7.21.2

v7.21.2 Facebook SDK

Modified:

  • Bug fix

Jun 25, 2020

facebook-unity-sdk-7.21.1.zip - Facebook SDK 7.21.1

v7.21.1 Facebook SDK

Modified:

  • Bug fix

Jun 23, 2020

facebook-unity-sdk-7.21.0.zip - Facebook SDK 7.21.0

v7.21.0 Facebook SDK

Modified:

  • Introduce DataProcessingOptions
  • Remove UserProperties API

Jun 15, 2020

facebook-unity-sdk-7.20.0.zip - Facebook SDK 7.20.0

v7.20.0 Facebook SDK

Modified:

  • Add Express Login
  • Various bug fixes

April 8, 2020

facebook-unity-sdk-7.19.2.zip - Facebook SDK 7.19.2

v7.19.2 Facebook SDK

Modified:

  • Fix FeedShare issue: https://github.com/facebook/facebook-sdk-for-unity/issues/284
  • Fix crash when AccessToken has no graph domain

Mar 23, 2020

facebook-unity-sdk-7.19.1.zip - Facebook SDK 7.19.1

v7.19.1 Facebook SDK

Modified:

  • Fix Login issue in Editor mode

Mar 11, 2020

facebook-unity-sdk-7.19.0.zip - Facebook SDK 7.19.0

v7.19.0 Facebook SDK

Modified:

  • Support for Gaming Video Uploads
  • Support for Gaming Image Uploads
  • Support for Gaming Friend Finder

Feb 3, 2020

facebook-unity-sdk-7.18.1.zip - Facebook SDK 7.18.1

v7.18.1 Facebook SDK

Modified:

  • Fix exported iOS project build issue
  • Fix Android install referrer issue
  • Remove AndroidJNIHelper log
  • Bump Google Playservices Resolver to v1.2.135

Oct 11, 2019

facebook-unity-sdk-7.18.0.zip - Facebook SDK 7.18.0

v7.18.0 Facebook SDK

Modified:

  • Remove Bolts framework
  • Fix Android logout issue
  • Fix the issue of multiple AppRequest instances when changing screen orientation
  • Fix GetUserID issue

July 18, 2019

facebook-unity-sdk-7.17.2.zip - Facebook SDK 7.17.2

v7.17.2 Facebook SDK

Modified:

  • Various bug fixes

July 5, 2019

facebook-unity-sdk-7.17.1.zip - Facebook SDK 7.17.1

v7.17.1 Facebook SDK

Modified:

  • Various bug fixes

June 27, 2019

facebook-unity-sdk-7.17.0.zip - Facebook SDK 7.17.0

v7.17.0 Facebook SDK

Modified:

  • Switch to use cocoapods and maven to pull Facebook iOS/Android SDK

June 21, 2019

facebook-unity-sdk-7.16.1.zip - Facebook SDK 7.16.1

v7.16.1 Facebook SDK

Modified:

  • Various bug fixes

June 6, 2019

facebook-unity-sdk-7.16.0.zip - Facebook SDK 7.16.0

v7.16.0 Facebook SDK

Modified:

  • Codeless Unity
  • Remove App Invite
  • Add setter and getter for UserID
  • Add UpdateUserProperties
  • Update iOS library to v5.0.2 and Android library to v5.0.1
  • Various bug fixes

Jan 10, 2019

facebook-unity-sdk-7.15.1.zip - Facebook SDK 7.15.1

v7.15.1 Facebook SDK

Modified:

  • Update iOS library to v4.39.1

Dec 17, 2018

facebook-unity-sdk-7.15.0.zip - Facebook SDK 7.15.0

v7.15.0 Facebook SDK

Modified:

  • Add Toggles for App Events Setting in the Facebook Setting Inspector
  • Fix broken unit tests
  • Bug fix

Nov 29, 2018

facebook-unity-sdk-7.14.1.zip - Facebook SDK 7.14.1

v7.14.1 Facebook SDK

Modified:

  • Bug fix

Nov 2, 2018

facebook-unity-sdk-7.14.0.zip - Facebook SDK 7.14.0

v7.14.0 Facebook SDK

Modified:

  • Update Android library to v4.38.1
  • Update iOS library to v4.38.1

v5.1.0 Audience Network SDK

Modified:

  • Update to Audience Network SDK for Android/iOS SDK 5.1.0

June 26, 2018

facebook-unity-sdk-7.13.0.zip - Facebook SDK 7.13.0

v7.13.0 Facebook SDK

Modified:

  • Update Graph API from v2.6 to v3.0. v2.6 deprecating on July 13, 2018

v4.28.0 Audience Network SDK

Modified:

  • Update to Audience Network SDK for Android/iOS SDK 4.28.2

June 6, 2018

facebook-unity-sdk-7.12.2.zip - Facebook SDK 7.12.2

v7.12.2 Facebook SDK

Fixed:

  • Exceptions with Login and App Events in WebGL
  • iOS build link error

May 18, 2018

facebook-unity-sdk-7.12.1.zip - Facebook SDK 7.12.1

v7.12.1 Facebook SDK

Modified:

  • Remove noisy logWarning in AndroidSupportLibraryResolver

Fixed:

  • WebGL run-time error

May 11, 2018

facebook-unity-sdk-7.12.0.zip - Facebook SDK 7.12.0

v7.12.0 Facebook SDK

Modified:

  • Update Android library to v4.33.0
  • Update iOS library to v4.33.0
  • Update Unity Jar Resolver to v1.2.69.0

Fixed:

  • iOS bitcode compile error

March 16, 2018

facebook-unity-sdk-7.11.1.zip - Facebook SDK 7.11.1

v7.11.1 Facebook SDK

Fixed:

  • Fixed iOS link build error

January 31, 2018

facebook-unity-sdk-7.11.0.zip - Facebook SDK 7.11.0

v7.11.0 Facebook SDK

Added:

Modified:

  • Update Android library to v4.28.0
  • Update iOS library to v4.28.0
  • Update Unity Jar Resolver to v1.2.61.0

Fixed:

  • Replace deprecated Application.ExternallCall() to jslib to call JavaScript from Unity Scripts

October 20th, 2017

facebook-unity-sdk-7.10.1.zip - Facebook SDK 7.10.1

v7.10.1 Facebook SDK

Fixed:

  • Fixed missing uploadAccessToken property in Unity editor settings

June 16th, 2017

facebook-unity-sdk-7.10.0.zip - Facebook SDK 7.10.0

v7.10.0 Facebook SDK

Added:

Modified:

  • Update Android library to v4.23.0
  • Update iOS library to v4.22.0
  • Remove deprecated app group and ShareLinkContent params

v4.22.0 Audience Network SDK

Added

  • Rewarded video support
  • AdChoices text, image and link data for native ads

Fixed

  • Fixed rendering issues with native ad cover images (blank or question mark image)
  • Improved viewability checks for native ads (handles different rendering types and object hierarchies far better)
  • Fixed missed impression callbacks on Android

Modified

  • Internal Unity build are not supported anymore. Builds should be done with Gradle. (Build Settings, select Build System)

February 13th, 2017

facebook-unity-sdk-7.9.4.zip - Facebook SDK 7.9.4

v7.9.4 Facebook SDK

Added:

  • Support premium games on Arcade platform with PayPremium and HasLicense methods

Modified:

  • Update Android library to v4.17.0

Fixed:

  • WebGL compile issues related to iOS framework targeted as Any Platform

November 9th, 2016

facebook-unity-sdk-7.9.0.zip - Facebook SDK 7.9.0

v7.9.0 Facebook SDK

BREAKING CHANGE:

Fixed:

  • Issue with il2cpp compilation on Android
  • get_activeBuildTarget not being supported
  • Error setting user agent on some browsers

v4.17.0 Audience Network SDK

Modified:

  • Update to Audience Network SDK for Android/iOS SDK 4.17.0

July 28th, 2016

facebook-unity-sdk-7.8.0.zip - Facebook SDK 7.8.0

v7.8.0 Facebook SDK

BREAKING CHANGE:

  • WebPlayer is no longer supported

Added:

  • Support for Facebook Games Arcade platform, project named Facebook.Unity.Arcade
  • Facebook.sln that contains Facebook.Unity, Facebook.Unity.Arcade, Facebook.Unity.Editor, and Facebook.Unity.Tests

Modified:

  • Update to Facebook SDK for Android/iOS SDK 4.14.0 / 4.14.0
  • Refactor Facebook.Unity to include only core SDK logic
  • Refactor editor code into separate project named Facebook.Unity.Editor
  • Refactor native iOS code into separate project
  • Refactor SDK example into UnitySDK project, this project is main SDK project

v4.13.0 Audience Network SDK

Modified:

  • Update to Audience Network SDK for Android/iOS SDK 4.14.0

July 6th, 2016

facebook-unity-sdk-7.7.0.zip - Facebook SDK 7.7.0

v7.7.0 Facebook SDK

Modified:

  • Update to Facebook SDK for Android/iOS SDK 4.13.2 / 4.13.1

v4.12.0 Audience Network SDK

Modified:

  • Update to Audience Network SDK for Android/iOS SDK 4.13.0

June 7th, 2016

facebook-unity-sdk-7.6.0.zip - Facebook SDK 7.6.0

v7.6.0 Facebook SDK

Modified:

  • Update to Facebook SDK for Android/iOS SDK 4.12.0

Fixed:

  • Editor NPE on init
  • NPE when using graph api on web and hitting a url that returns a list instead of a json object.

v4.12.0 Audience Network SDK

Modified:

  • Update to Audience Network SDK for Android/iOS SDK 4.12.0

April 18th, 2016

facebook-unity-sdk-7.5.0.zip - Facebook SDK 7.5.0

v7.5.0 Facebook SDK

Added:

  • Automatic activate and deactivate app event logging for Android. Calling activte app is still required for WebGL.

Modified:

  • Update to Facebook SDK for Android/iOS SDK 4.11.0
  • isLoggedIn returns false when token is expired
  • For some methods the RawResult field for webgl or webplayer has changed.

Fixed:

  • Token issued during init on WebGL didn't contain permissions
  • Cancel not being set on result for some dialogs on WebGL.
  • Error not being set on result for some dialogs on WebGL.
  • NPE on Android when Unity activity was killed during login flow

v4.11.0 Audience Network SDK

Modified:

  • Update to Audience Network SDK for Android/iOS SDK 4.11.0

Febuary 1st, 2016

facebook-unity-sdk-7.4.0.zip - Facebook SDK 7.4.0

v7.4.0 Facebook SDK

Added:

  • Ability to specify the graph api version though FB.GraphApiVersion

Modified:

  • Update to Facebook SDK for Android v4.9.0
  • Update to Facebook SDK for iOS v4.9.1

Fixed:

  • In editor cannot call login from outside OnGui

v4.9.0 Audience Network SDK

Modified:

  • Update to Audience Network SDK for Android v4.9.0
  • Update to Audience Network SDK for iOS v4.9.1

December 9, 2015

facebook-unity-sdk-7.3.0.zip - Facebook SDK 7.3.0

v7.3.0 Facebook SDK

BREAKING CHANGE:

  • Moved the location of Unity plugin files, see Upgrade Guide for more information.

Added:

Modified:

  • Update to Android and iOS SDK 4.8.2

Fixed:

  • Crash when Unity activity suspends during login or share via the Facebook app on Android
  • File not found issue on version Unity 5.3 when no android manifest exited at plugins/android/AndroidManifest.xml

v4.8.2 Audience Network SDK

BREAKING CHANGE:

  • Moved the location of Unity plugin files to under Audience Network Folder

Modified:

  • Updated to Android and iOS SDK 4.8.2

Fixed:

  • Issue with Android builds where impression callbacks never get triggered when impressions occur. This affects the usage of NativeAdWillLogImpression, AdViewWillLogImpression and InterstitialAdWillLogImpression.
  • Race condition that impacted compatibility with Android v4.7+ SDKs
  • File not found issue on version Unity 5.3 with missing AndroidManifest.xml

November 2, 2015

facebook-unity-sdk-7.2.2.zip - Facebook SDK 7.2.2

v7.2.2 Facebook SDK

Fixed:

  • Issue where get graph requests would fail on webplayer
  • Issue where custom app events would fail fail to fire

v4.7.0 - Audience Network

No Changes for Audience network and package remains at version 4.7.0

October 26, 2015

facebook-unity-sdk-7.2.1.zip - Facebook SDK 7.2.1

v7.2.1 Facebook SDK

Fixed:

  • Fixed crash due to legacy access token format for apps previously running Facebook SDK for Unity v6.0.0 or earlier
  • Fixed access token is now available in the onInitCallback
  • Fixed possible duplicate symbol with MakeStringCopy method on iOS

v4.7.0 - Audience Network

No Changes for Audience network and package remains at version 4.7.0

v7.2.0 - October 13, 2015

facebook-unity-sdk-7.2.0.zip - Facebook SDK 7.2.0

Facebook SDK

Added:

  • Texture property to IGraphResult for handling some cases where Graph API redirects to an image. eg: /me/picture
  • Editor login retrieves user id and permissions from provided access token

Modified:

  • FB.API calls are now versioned and default to Graph API v2.5
  • Updated underlying iOS SDK to 4.7
  • Updated underlying Android SDK to 4.7
  • Editor dialog windows now have an opaque background
  • The SDK download is now packaged as a zip archive. It contains the unitypackage for the Facebook SDK for Unity and now additionaly the Audience Network Unity plugin.

Fixed:

  • Filter not being set properly for app_non_user on iOS
  • FB.IsInitialized not being set to true inside FB.Init callback

Audience Network

Added

v7.1.0 - September 21, 2015

facebook-unity-sdk-7.1.0.unitypackage - Facebook SDK 7.1.0

Refer to the Upgrade Guide for detailed information about upgrading from v6 to v7.

BREAKING CHANGE:

  • Unity 4 is no longer supported. Unity 5 is required
  • Facebook functionality within the Unity Editor is now mocked out, we encourage you test on native platforms (iOS, Android, and Web)
  • Full Screen dialogs with Web Player are no longer supported
  • SDK has been namespaced to Facebook.Unity
  • FB.Login has been split into FB.LoginWithReadPermissions and FB.LoginWithPublishPermissions
  • FB.Feed has been replaced with FB.ShareFeed. Note: Consider using FB.ShareLink, which is optimized for mobile sharing
  • FB.GetAppLink replaces FB.GetDeepLink and adds support for App Links
  • FB.LogAppEvent replaces FB.AppEvents.LogEvent
  • FB.LogPurchase replaces FB.AppEvents.LogPurchase
  • FBResult has been replaced by typed callbacks for each method
  • Callbacks are now typed, eg: IGraphResult for FB.API

Added:

  • Support for Unity 5
  • Support for the WebGL Build Target
  • Support for Hybrid Deployment
  • FB.ShareLink added
  • FB.Mobile.ShareDialogMode added to specify the dialog mode for FB.ShareLink on iOS and Android
  • FB.Mobile.AppInvite added support for App Invites
  • AccessToken class added
  • FB.Mobile.FetchDeferredAppLinkData added

Modified:

  • Updated underlying iOS SDK to 4.6
  • Updated underlying Android SDK to 4.6
  • Minimum Android SDK API is now v15
  • Minimum iOS target version is now 7.0
  • Building for Web Player no longer uses the integrated plugin

Fixed:

  • FB.Init callback not being called
  • Lost FB session across game launches
  • Lost FB login screen after minimizing the app on Android
  • Null Pointer Exception occurring during login on Android
  • Login callback not being called when switching back to app on Android
  • App freeze when logging in a second time before first login completes on Android
  • FB class not found after upgrading from an old version
  • Callback not being called after a game group join
  • Fixed FB.GetDeepLink on Web

v6.2.2 - April 14, 2015

FacebookSDK-150414.unitypackage - Facebook SDK 6.2.2 build 150414

Fixed:

  • ReRequesting permissions with iOS
  • Android crash when UnityActivity is destroyed in background
  • FB.Feed erroneously returning cancelled

v6.2.1 - January 28, 2015

FacebookSDK-150128.unitypackage - Facebook SDK 6.2.1 build 150128

Fixed:

  • OnInitCompleted called twice on iOS in certain situations
  • FB.Feed ignoring 'toId' on Android

v6.2 BETA - December 2, 2014

FacebookSDK-141202-beta.unitypackage - Facebook SDK 6.2 BETA build 141202

Fixed:

  • Fixed the iOS 8 keyboard orientation bug

Modified

  • Updated underlying iOS and Android SDK versions to 3.20
  • Now defaults to calling Graph API v2.2

v6.1 - December 17, 2014

FacebookSDK-141217.unitypackage - Facebook SDK 6.1 build 141217

Release version from 6.1 Beta build 141020. No major updates since beta release.

Added:

  • Support for native Share dialog in Android

Fixed:

  • Fix issue in Android where clicking 'login', cancelling, and then clicking 'login' again would cause a crash
  • Fix for "null reference" errors showing in console when displaying any FB dialogs while inside the editor
  • Canvas login will now re-ask for declined permissions
  • Fixed issues caused by compiler #defines on Unity 4.6 beta and 5.0 beta
  • Improved p-list handling for iOS build flow

Modified:

  • Updated underlying Android and iOS SDKs to 3.17
  • Now defaults to calling API v2.1
  • Interactive console: Split login button into "login" and "get publish_permissions" to follow our own recommendations
  • Interactive console: added AppRequest filter groups example

v6.0 - August 11, 2014

FacebookSDK-140805.unitypackage - Facebook SDK 6.0 build 140805

BREAKING CHANGE:

  • FB.AppRequest signature changed to support filters on mobile

Added:

Fixed:

  • Windows Phone 8 still unsupported, but the SDK no longer causes build errors on this platform
  • Login orientation no longer fixed to portrait on Android

Modified:

  • Underlying iOS, Android and JS SDKs are now post f8 versions. This means SDKs are initialized as using version 2.0 of the graph API.
  • PublishInstall replaced with ActivateApp

v5.1 - April 1, 2014

FacebookSDK-140401.unitypackage - Facebook SDK 5.1 build 140401

Added:

Fixed:

  • Fixed a minor bug where an Android function would be referenced on all platforms if you defined your own DEBUG compile flag

Modified:

  • The web dialog DLL is now signed by Unity. This is to support the change, new in Unity 4.5, of requiring all DLLs loaded via Security.LoadAndVerifyAssembly() to be signed

v5.0.4 BETA - February 20, 2014

FacebookSDK-140220-beta.unitypackage - Facebook SDK 5.0.4 BETA build 140220

Added:

  • The SDK now allows for runtime specification of an app id for Android through FB.Init

Fixed:

  • Fixed a Windows 8 build/compilation bug
  • Fixed landscape orientation bug on Android
  • Fixed a problem on Android where, if no permissions were being asked for during login, it did not even ask for basic authorization
  • Made it safe to use a preprocessor symbol named DEBUG

Modified:

  • The deep link value with which an app is started no longer gets overwritten by later, interapp calls on iOS
  • The SDK treats empty login callbacks in iOS as cancelled login attempts

v5.0.3 BETA - January 23, 2014

FacebookSDK-140123-beta.unitypackage - Facebook SDK 5.0.3 BETA build 140123

Added:

  • You can now log into Facebook and get real data from within the Unity editor.
  • Support for cold starts on iOS.

Fixed:

  • FB.Feed has a working toId field now
  • Fixed a bug where FB.AppId could be incorrect at times.
  • Fixed a bug on canvas where the centering didn't work in Internet Explorer
  • Fixed a bug with feed dialogs displaying incorrectly on Android tablets
  • Fixed a bug where FB.Feed callbacks weren't called on Android
  • Feed dialogs in iOS using the “toId” field will correctly fall back to web dialogs since native dialogs doesn’t support it
  • The plist appending has been fixed in ios

Modified:

  • Access tokens on canvas will auto refresh now
  • On Android, the Facebook plugin no longer requires its own MainActivity
  • Frictionless request will work for Android
  • The login screen has been polished up for Android
  • Upgrade underlying Android SDK to 3.6.0
  • Upgrade underlying iOS SDK to 3.11.0
  • We now make access token expiration times accessible
  • Total size of the SDK has been trimmed by a few megabytes

v4.3.6 - November 21, 2013

FacebookSDK-131121.unitypackage - Facebook SDK 4.3.6 build 131121

Added:

  • Added some additional error checking for Android key hash setup errors
  • Android key hashes are accessible from the SDK as FB.Android.KeyHash
  • Added canvas centering and padding

Fixed:

  • Fixed a bug in canvas Feed dialog where a post with just an image would break it
  • Fixes for Unity 4.3 on iOS and Android
  • Url scheme suffixes on iOS
  • Will always call the login callback, even if cancelled
  • Fixed FB dialog background screen darkening not working on UI elements

Modified:

  • Updated interactive console sample
  • Remove older-style auth flow from InteractiveConsole demo
  • Updated the Android SDK to 3.5.2

v4.3.4 - October 22, 2013

FacebookSDK-131022.unitypackage - Facebook SDK 4.3.4 build 131022

Fixed:

  • FBResult.texture fixed on iOS

Modified:

  • Allow programmatic control of FB.Init
  • Remove older-style auth flow from InteractiveConsole demo

If you are upgrading from a pre-4.3.3 version, please read the warning below.

v4.3.3 - October 13, 2013

FacebookSDK-131013.unitypackage - Facebook SDK 4.3.3 build 131013

Added:

  • FB.API() supports binary data for uploading screenshots
  • App Events are now exposed via FB.AppEvents.LogEvent()
  • Invoking URL exposed via FB.GetDeepLink()

Fixed:

  • Consistent return values for api calls across Android, iOS, and canvas
  • "Interactive Console" test app screen size fixed for non retina iPhones
  • Added ability to disable context menu on canvas
  • Debug logs now much less verbose
  • We now use Unity projects to avoid resource id conflicts

Modified:

  • Underlying SDKs updated to 3.8 for iOS and 3.5 for Android

As of this version, we've changed the Android plugin to use a library project instead of a .jar file. Unfortunately this means a lot of resources moved around, and if you just import a new version of the Facebook SDK over the top of an old one you will end up with some duplicate files. Please delete Assets/Facebook and Assets/Plugins/Android and reimport the new SDK along with any other plugins you are using. Also delete Assets/Plugins/Android/android-support-v4, Assets/Plugins/Android/AndroidManifest.xml, and Assets/Plugins/Android/FacebookSDK.jar. This is a one-time only task which should not need to be repeated for future versions.

v4.2.4 - September 24, 2013

FacebookSDK-130924.unitypackage - Facebook SDK 4.2.4 build 130924

Added:

  • Re-added Delete method broken in 4.2.1
  • Mixed permissions dialog support for Android

Fixed:

  • iOS crashed if login button hit more than once while first request was sent
  • Fixed a bug where programs built with the SDK could not be debugged with visual studio
  • Trimmed newline from the keyhash for Android

Modified:

  • FB.init no longer raises an exception if it can't connect to the internet
  • Renamed 'Facebook' game object to 'UnityFacebookGameObject' to reduce chance of name conflict

v4.2.1 - September 12, 2013

FacebookSDK-130912.unitypackage - Facebook SDK 4.2.1 build 130912

BREAKING CHANGE:

We introduced a breaking change on this new SDK that will affect how callbacks are called. All callbacks passed to FB SDK methods, except for Init(), will now receive a FBResult object instead of a string.

To read more about the FBResult object, you can check out the Unity SDK Delegate documentation.

FBResult is mainly a wrapper around Unity's WWW class, so it has almost the same interface. To get a string value out of the FBResult object, you will now have to check FBResult.Text. Also, you can now check for errors by seeing if FBResult.Error is not null. Where applicable, you can also get an image texture with FBResult.Texture.

Modified:

  • Adding JSON to the Facebook namespace, so the SDK works better with other plugins (it is now at Facebook.MiniJSON.Json)
  • Adding a "cancelled" callback to the dialogs

Fixed:

  • Calling FB.Init() on Android doesn't show the login dialog every time
  • Session is properly cached on iOS
  • Changing the Multi Friend Selector to only send apprequests when "Done" is clicked
  • Fixed FB.Init and FB.Login callback ordering problem

v3.1.2 - September 6, 2013

FacebookSDK-130903.unitypackage - Facebook SDK 3.1.2 build 130906

Thank you for your feedback! We deeply appreciate your help in making the SDK better.

Modified:

  • Call the dialog callback, even when a dialog is cancelled, on mobile platforms
  • Clean up the code in the Interactive Console example app

Fixed:

  • Correctly handle mixed read/write permissions on iOS
  • Smartly merge changes to AndroidManifest.xml rather than simply writing them to a newly-created manifest
  • Made default sharing audience "friends" rather than "none" on mobile platforms
  • Improve cooperation with other plugins
  • Invoke iOS native dialogs, not web dialogs, when available

v3.1.1 - September 3, 2013

FacebookSDK-130903.unitypackage - Facebook SDK 3.1.1 build 130903

Fixed:

  • Several issues on Android, particularly one that prevented apps from requesting permissions beyond basic authorization
  • Build problems preventing the Facebook SDK from working with other plugins

Modified:

  • Reduced package size

v3.1 - August 26, 2013

FacebookSDK-130826.unitypackage - Facebook SDK 3.1 build 130826

Fixed:

  • Fixed problem with Graph API POST calls on iOS
  • Improved default cross-domain support for Facebook Canvas

v3.0 - August 20, 2013

FacebookSDK-130820.unitypackage - Facebook SDK 3.0 build 130820

Modified:

  • Changed IsLoggedIn from a method to a property, to match the other session properties
  • Removed fromID parameter from FB.Feed, as it's not useful in the context of Unity games

Added:

  • New method FB.Canvas.Pay to invoke the payment dialog on Facebook Canvas
  • Improved editor experience: tooltips for Init params

Fixed:

  • Issue where FB.Feed failed when given certain toID, 'Link, or actionName parameters