Facebook Connect + jQuery Mobile + Phonegap Build

白昼怎懂夜的黑 提交于 2019-12-02 03:00:20
  1. Take a look at the plugin documentation located here.

  2. Ensure you have the below in the <head> of your index.html:

    <script src="cdv-plugin-fb-connect.js"></script>
    <script src="facebook-js-sdk.js"></script>
    
  3. Ensure your config.xml contains the below:

    <gap:plugin name="com.phonegap.plugins.facebookconnect">
        <param name="APP_ID" value="..." />
        <param name="APP_NAME" value="..." />
    </gap:plugin>
    
  4. Finally, review the "Simple Sample" on how to use the plugin located here

Hope this helps. If you are still having issues, post some code you are using for us to take a look at.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!