Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebookConnect plugin with phonegap adobe build not working
    primarykey
    data
    text
    <p>I have a Phonegap projct which is being built with adobe build.</p> <p>I want to integrate FacebookConnect as per this git / tutorial page : <a href="https://github.com/phonegap-build/FacebookConnect" rel="nofollow">https://github.com/phonegap-build/FacebookConnect</a></p> <p>This is my adobe build config.xml :</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;widget xmlns= "http://www.w3.org/ns/widgets" xmlns:gap= "http://phonegap.com/ns/1.0" id= "com.TomBers.foodidapp" version = "0.0.1"&gt; &lt;cordova&gt; &lt;preference name="KeyboardDisplayRequiresUserAction" value="true" /&gt; &lt;preference name="SuppressesIncrementalRendering" value="false" /&gt; &lt;preference name="UIWebViewBounce" value="true" /&gt; &lt;preference name="TopActivityIndicator" value="gray" /&gt; &lt;preference name="EnableLocation" value="false" /&gt; &lt;preference name="EnableViewportScale" value="false" /&gt; &lt;preference name="AutoHideSplashScreen" value="true" /&gt; &lt;preference name="ShowSplashScreenSpinner" value="true" /&gt; &lt;preference name="MediaPlaybackRequiresUserAction" value="false" /&gt; &lt;preference name="AllowInlineMediaPlayback" value="false" /&gt; &lt;preference name="BackupWebStorage" value="cloud" /&gt; &lt;preference name="orientation" value="portrait" /&gt; &lt;preference name="phonegap-version" value="2.5.0" /&gt; &lt;content src="index.html" /&gt; &lt;plugins&gt; &lt;plugin name="Device" value="CDVDevice" /&gt; &lt;plugin name="Logger" value="CDVLogger" /&gt; &lt;plugin name="Compass" value="CDVLocation" /&gt; &lt;plugin name="Accelerometer" value="CDVAccelerometer" /&gt; &lt;plugin name="Camera" value="CDVCamera" /&gt; &lt;plugin name="NetworkStatus" value="CDVConnection" /&gt; &lt;plugin name="Contacts" value="CDVContacts" /&gt; &lt;plugin name="Debug Console" value="CDVDebugConsole" /&gt; &lt;plugin name="Echo" value="CDVEcho" /&gt; &lt;plugin name="File" value="CDVFile" /&gt; &lt;plugin name="FileTransfer" value="CDVFileTransfer" /&gt; &lt;plugin name="Geolocation" value="CDVLocation" /&gt; &lt;plugin name="Notification" value="CDVNotification" /&gt; &lt;plugin name="Media" value="CDVSound" /&gt; &lt;plugin name="Capture" value="CDVCapture" /&gt; &lt;plugin name="SplashScreen" value="CDVSplashScreen" /&gt; &lt;plugin name="Battery" value="CDVBattery" /&gt; &lt;plugin name="Globalization" value="CDVGlobalization" /&gt; &lt;plugin name="InAppBrowser" value="CDVInAppBrowser" /&gt; &lt;plugin name="com.phonegap.facebook.Connect" value="com.phonegap.facebook.ConnectPlugin" /&gt; &lt;gap:plugin name="FacebookConnect"&gt; &lt;param name="APP_ID" value="133914256793487" /&gt; &lt;/gap:plugin&gt; &lt;/plugins&gt; &lt;access origin="*" /&gt; &lt;/cordova&gt; &lt;/widget&gt; </code></pre> <p>I then added the various javascript scraps and buttons shown in the Simple example : <a href="https://github.com/phonegap-build/FacebookConnect/tree/master/example/Simple" rel="nofollow">https://github.com/phonegap-build/FacebookConnect/tree/master/example/Simple</a> including :</p> <pre><code> document.addEventListener('deviceready', function() { try { alert('Device is ready! Make sure you set your app_id below this alert.'); FB.init({ appId: "133914256793487", nativeInterface: CDV.FB, useCachedDialogs: false }); document.getElementById('data').innerHTML = ""; } catch (e) { alert(e); } }, false); </code></pre> <p>With my updated appid. When my app loads - i get the alert saying device is ready!</p> <p>Then I get 2 more alerts, one saying : plugin fail on init.</p> <p>Then one saying : plugin fail on auth.status.</p> <p>I have added my android debug keystore hash to the app on facebook + my developer settings.</p> <p>I am not sure how to debug from here.</p> <p>Cheers,</p> <p>Andy</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload