New facebook plugin

Hey everyone,

 

Since Facebook released version 4 of their SDK and deprecated Graph API 1.0, many of you have been asking for us to upgrade, and provide new features to our facebook plugin. I’m pleased to say that  we’ve just released a beta version of our new facebook plugin  which is built on top of Facebook SDK 4.4.0.

 

Currently this new plugin is only supported on Android, as we’re finishing up the iOS side.

 

To access the new plugin, you’ll need to upgrade to daily build  2015.2685  or later.

 

For instructions on upgrading, see our migration guide.

 

Feel free to discuss the new plugin on the Facebook v4 forum.

Hey everyone,

 

Yesterday  we 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
  • 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!

Wow! Thanks Corona Team! Really appreciate all you do for us :slight_smile:

Hey everyone,

 

Yesterday  we 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
  • 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!

Wow! Thanks Corona Team! Really appreciate all you do for us :slight_smile: