Cannot use facebook plugin with pulsing emulator

I am trying to run the facebook plugin "SIMPLE Example" using a rowan emulator.

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

config.xml is as follows.

<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 get an error

org.apache.cordova.facebook.Connect.getLoginStatus

It seems that we are missing some things :(

Interestingly, although you can fill in the text box to pass the json object to the callback you want to execute

Thanks.

+6
source share
2 answers

If you use it with the Ripple google extension, you are probably using the old version.

Try the new version as indicated in the link below.

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

Also note that you cannot expect each individual function to work in Ripple.

+1
source

The Cordova Facebook plugin uses its own application on the device, so I think you cannot check your project on Ripple with this limitation.

I tried to test using the Javascript SDK (and the new Ripple) on Facebook, and the new issue was the URL of my Facebook APP :(

0
source

Source: https://habr.com/ru/post/948537/


All Articles