Can I use the JavaScript facebook SDK for phonegap apps?

你。 提交于 2019-12-23 20:08:21

问题


I am not sure whether my question is appropriate or not.

I am integrating facebook for the first time and also for the for first my app is multi-platform.

I am integrating facebook in my app for iphone and android.My question are below:

1)If i am doing it with plugin i have to do it separately for both iPhone and Android. Is there any way to integrate Facebook for both in a single effort for eg by using Javascript SDK

2)If yes what it is? and if possible any sample.

Thanks in advance


回答1:


You should use phonegap-plugin-facebook-connect. It works on both iOS and Android and integrates great with iOS6 bulid in Facebook functionality.

The plugin provides a patched version of the Facebook JS API.



来源:https://stackoverflow.com/questions/15021811/can-i-use-the-javascript-facebook-sdk-for-phonegap-apps

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