ADDING FACEBOOK IDs IN THE EXAMPLE CAPX
Before getting into Capx, add the Phonegap Facebook Plugin into your local Construct 2 Folder. To learn how to add plugins Click here.
Now, Open the Example Capx "example_phonegapfacebook_requires id" download it from the above mentioned link. In this example capx, everything has been added already except the Facebook App name and ID which we have to get it from our newly created test Facbook app. So in the projects tab(right side on your construct window) select PhonegapFacebook. Now copy your Facebook App Name and App ID from FB and paste it here on the properties Window (left side on your construct window).
CONSTRUCT 2 EXPORT AND INTEL XDK IMPORT
In Construct 2, Click File --> Export Project --> Select Cordova . In Export Options assign a path for Exporting Files to and then Click Next and then Export.
Once the export is completed, open Intel XDK, if you don't have already, Download it here .
Once the Intel XDK is downloaded and installed, run it. If you are new to Intel XDK, register and then log-in. Once you are inside Intel XDK, go to the left top, click XDK Projects, then Click START A NEW PROJECT and then select Import an Existing HTML5 Project. Now select your project to exported location and give a name to this XDK project as shown below.
Click XDK PROJECTS again In the Left Top and Click on Build setting on the Right side. Under ANDROID Tab, a new App ID, App Description and Author.