24 July 2015
Facebook v4 Plugin: Android Beta
Currently this plugin is in beta and is currently available on Android only as we’re finishing up the iOS side.
Download Corona daily build 2015.2685 (or later) to get started.
What about the old Facebook plugin?
The facebook-v4 plugin supercedes the old facebook plugin. Consequently, we are deprecating the old facebook plugin. While it will still be available, Corona will no longer be supporting it or providing any maintenance updates to it.
Therefore, we recommend migrating to the facebook-v4 plugin, as it will soon be required.
For this initial release, we’ve provided some new APIs that improve developer and user experience with login.
In particular, one popular request has been saving login info in a better manner. To address this, we now provide the AccessToken for a logged in user through facebook.currentAccessToken. This property is updated inside the plugin, so managing access tokens is no longer the responsibility of the Corona developer!
Upgrading to Facebook v4
With the new facebook plugin, we wanted to be sure that the migration process would be as painless as possible. This was accomplished by making the new plugin a nearly complete superset of the old one. We’ve maintained all the old APIs while adding new ones and new possibilities with old ones.
For more detailed instructions on upgrading, see our migration guide.
More detail on the new plugin can be found in our docs.
Feel free to discuss the new plugin on the Facebook v4 forum.