为PhoneGap构建安装Facebook Connect-是否正确?
我的方法正确吗?我发现以下错误:为PhoneGap构建安装Facebook Connect-是否正确?,facebook,cordova,phonegap-plugins,phonegap-build,Facebook,Cordova,Phonegap Plugins,Phonegap Build,我的方法正确吗?我发现以下错误: Cordova variable does not exist. Check that you have included cordova.js correctly CDV variable does not exist. Check that you have included cdv-plugin-fb-connect.js correctly FB variable does not exist. Check that you have include
Cordova variable does not exist. Check that you have included cordova.js correctly
CDV variable does not exist. Check that you have included cdv-plugin-fb-connect.js correctly
FB variable does not exist. Check that you have included the Facebook JS SDK file.
<gap:plugin name="com.phonegap.plugins.facebookconnect">
<param name="APP_ID" value="blah_app_id" />
<param name="APP_NAME" value="blah_app_name" />
</gap:plugin>
并将它们放在我项目的根目录中,与我的index.html放在同一个位置
感谢您的关注。不,不要下载cordova facebook插件和facebook js sdk。它将在应用程序在云中构建时添加/附加。谢谢jeek。那么,它是如何访问facebook sdk的web应用程序版本的应用程序呢?如果你提到喜欢:但这些文件不在我的网站上。我知道PG Build如何在它们生成本机版本时添加它们,但我不需要将它们上载到我的网站以获得web应用程序版本吗?
cdv-plugin-fb-connect.js
facebook-js-sdk.js