not able to use facebook plugin with ripple emulator

三世轮回 提交于 2020-01-02 03:37:09

问题


I am trying to run facebook plugin 'SIMPLE example' using ripple emulator.

I already included the facebook_js_sdk.js and cdv_plgin.js and cardova.js.

config.xml is as follow.

<plugin name="org.apache.cordova.facebook.Connect value="org.apache.cordova.facebook.ConnectPlugin"/>
<gap:plugin name="FacebookConnect">
<param name="APP_ID" value="xxx" />
<param name="APP_NAME" value="app" />
</gap:plugin>

I am getting error

org.apache.cordova.facebook.Connect.getLoginStatus

We seem to be missing some stuff :(

What is kinda cool though you can fill in the textarea to pass a json object to the callback you want to execute

Thank you.


回答1:


If you are running it using Ripple google extension, probably you are using old version.

Try out the new version as mentioned in the link below.

http://www.raymondcamden.com/index.cfm/2013/11/5/Ripple-is-Reborn

Also note that you can not expect every single feature to work in Ripple.




回答2:


The Cordova Facebook plugin uses the native app on the device, so I think you cant´n test your project on Ripple with this restriction.

I was trying to make a test with the Facebook Javascript SDK (and the new Ripple) and the new problem was the URL for my Facebook APP :(



来源:https://stackoverflow.com/questions/17425096/not-able-to-use-facebook-plugin-with-ripple-emulator

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