You need to add you Google Play package name and create hash keys and add them to your Facebook application.
- Download openssl from the link bellow: https://code.google.com/p/openssl-for-windows/downloads/list
- Unzip it to a local drive (e.g., C:\openssl)
- To get the Development key for facebook integration, use the following command from the command line in windows:
keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%.android\debug.keystore | "C:\openssl\bin\openssl.exe" sha1 -binary | "C:\openssl\bin\openssl.exe" base64
NOTE!: please replace the path for openssl.exe (in this example it is "C:\openssl\bin\openssl.exe") with your own installation path.
It will prompt for password, e.g.,
Enter keystore password: android
Type android as password as shown above.
Thats it! You will be given a 28 character long key.
Use the same procedure to get the Release key. Just replace the command with the following and use your release key alias.
keytool -exportcert -alias YOUR_RELEASE_KEY_ALIAS -keystore YOUR_RELEASE_KEY_PATH | "PATH FOR openssl.exe" sha1 -binary | openssl base64
Credit to: https://stackoverflow.com/a/32211444/4440845
The package name can be found in the config.xml file in your project.
For more information check out this tutorial : http://excellencenodejsblog.com/cordova-ionic-facebook-login-mobile-app/