facebook - FB.ui method send -
fb app request working on phonegap using facebook connect phonegap plugin, "send" method not. example:
fb.ui({ method: 'send', link: 'http://www.etobb.com', to: '' }, function(response) { console.log(response); });
the console.log(response)
not giving me data.
the reason connectplugin.java file, comes phonegap plugin (url: https://github.com/phonegap/phonegap-facebook-plugin/blob/master/src/android/connectplugin.java )
check oncomplete method @ line 240 , compare local version of java file. when adding plugin via "phonegap plugin add [long facebook github url]", seems not use latest master, 1 of releases (or likewise). oncomplete method not hand on data javascript in outdated version.
so did, latest master project , it's working now, though it's not best thing do. :)
Comments
Post a Comment