If you had Facebook enabled in your CocoonJS project you can migrate it using the Cocoon Facebook Social plugin.


The Facebook plugin will be migrated along with your application configuration when your projects are automatically migrated to the new Cocoon cloud so you should have all the plugins installed in the new Cocoon cloud already. To check if everything is correct go to the old CocoonJS cloud and check if you had the Facebook plugin enabled.

Screen Shot 2016-01-19 at 13.50.39

Now go to the new Cloud and check that the Facebook plugin has been correctly migrated to the new Cocoon configuration.

Screen Shot 2016-01-19 at 13.52.37
If the Facebook plugin is installed the application is ready to be compiled. Before compiling an APK or a Developer app check your integration in the following step.


The Facebook plugin requires an APP_ID and APP_NAME parameters in the new cloud.

The APP_ID parameter should have been set automatically in the migration process but just in case check that is the same as the ones in the old CocoonJS cloud.

Screen Shot 2016-01-19 at 13.52.28

The APP_NAME parameter didn’t exist in the old CocoonJS cloud so you will ned to set it up. Just set you application name.


The old CocoonJS Facebook plugin has been recoded in the the new Cocoon so the API is not exactly the same but we really think it is for good. We have tried to make a simpler and easier to integrate API so the changes in your application code shouldn’t be difficult to implement.

Check the Facebook plugin guide to see what modifications you should made in your code to get the new Cocoon Facebook plugin working: