3 Replies Latest reply on Jun 24, 2017 12:48 PM by Gabit_Zhake

    Plugin FBAPI.js, Can't Load URL

    Gabit_Zhake Level 1

      Hello !

       

      I tried using the FBAPI plugin:

      https://developers.facebook.com/docs/reference/javascript/FB.login/v2.9

       

      I receive the following message:

      Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app to the App Domains field in your app settings.

      fb_2.png

       

      What is the domain for the PhoneGap project?

       

      This command - alert(window.location.href) returns the following string:

      file:///android_asset/www/main.html