INTEL XDK SETTING
when exporting to cordova, add the Facebook* Connect (jeduan fork) plugin. You can get that plugin in Featured Plugins tab.
Fill the APP_ID and APP_NAME variabel
Facebook Developer Setting
In your developer page setting, make sure you have added 2 platform : Web and Android.
For website platform you can fill it with localhost (preview url). And for Android platform you have to fill the package name and Key Hashes
Click here to learn how to get key hash.
As a note
It's a little bit old tutorial, however it still works. If you need a complete template for connecting your c2 project with facebook (also how to fetch user's data, more updated setting etc) you can check this link.