Hey everyone,
Today we’ve launched the iOS version of the Facebook v4 plugin! In addition, we’ve also made some improvements on Android , as well as added a couple new features to the plugin.
Here’s a quick breakdown of some of the goodies that come with this update:
- The iOS version targets Facebook SDK 4.5.1. and the Android version has been upgraded to 4.5.0.
- iOS 6 is not supported with this plugin.
- iOS 9 is supported with a couple additional setup steps.
- facebook.currentAccessToken has been deprecated in favor of facebook.getCurrentAccessToken().
- On top of providing knowledge of whether you have a logged in user, this new API provides access to:
- The permissions the user has granted your app
- The permission they’ve denied your app
- Their Facebook User ID
- and more
- On top of providing knowledge of whether you have a logged in user, this new API provides access to:
- facebook.showDialog() now allows a new action, “link”.
- This will bring up the new Share Dialog and will allow you to share a link on it.
- If you have the Facebook app installed on your device, bringing up this dialog will allow you to tag friends and a place, all without additional calls to bring up the Places and Friends dialogs.
- facebook.accessDenied for iOS has been removed. Since logging in through Settings on iOS isn’t supported, this API wasn’t very useful.
See the Facebook v4 plugin home page to get started!