phonegap-facebook-plugin给出错误:未使用有效版本调用init

时间:2017-12-22 17:58:41

标签: phonegap-plugins

我在我的应用程序中使用https://github.com/Wizcorp/phonegap-facebook-plugin但是当我使用有效版本调用错误init时。

Error
    at Object.a (https://connect.facebook.net/en_US/sdk.js:61:150)
    at require (https://connect.facebook.net/en_US/sdk.js:24:620)
    at require (https://connect.facebook.net/en_US/sdk.js:24:584)
    at require (https://connect.facebook.net/en_US/sdk.js:24:584)
    at require (https://connect.facebook.net/en_US/sdk.js:24:584)
    at require (https://connect.facebook.net/en_US/sdk.js:24:584)
    at require (https://connect.facebook.net/en_US/sdk.js:24:584)
    at require (https://connect.facebook.net/en_US/sdk.js:24:584)
    at __d (https://connect.facebook.net/en_US/sdk.js:24:773)
    at Object.<anonymous> (https://connect.facebook.net/en_US/sdk.js:72:1)
下面的

是我的插件

的config.xml
<gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.8.0">
    <param name="APP_ID" value="<MyAppID>" />
    <param name="APP_NAME" value="<My_APP_NAME>" />
</gap:plugin>

0 个答案:

没有答案