Cordova Facebook plugin : missing variables APP_ID, APP_NAME

前端 未结 4 1623
一向
一向 2021-01-17 17:55

When I do :

cordova plugin add https://github.com/phonegap/phonegap-facebook-plugin.git

I get the error :

Error: Variable(s         


        
4条回答
  •  天命终不由人
    2021-01-17 18:20

    To use this plugin you will need to make sure you've registered your Facebook app with Facebook and have an APP_ID (https://developers.facebook.com/apps).

    If you plan on rolling this out on iOS, please note that you will need to ensure that you have properly set up your Native iOS App settings on the Facebook App Dashboard. Please see the Getting Started with the Facebook SDK: Create a Facebook App section, for more details on this.

    If you plan on rolling this out on Android, please note that you will need to generate a hash of your Android key(s) and submit those to the Developers page on Facebook to get it working. Furthermore, if you are generating this hash on Windows (specifically 64 bit versions), please use version 0.9.8e or 0.9.8d of OpenSSL for Windows and not 0.9.8k. Big ups to fernandomatos for pointing this out!

提交回复
热议问题