Facebook "Can't Load URL" and doesn't show on Android

  • Hello,

    I added a Facebook component and set its App ID. I am getting this message when trying to login with Facebook:

    "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 sub-domains of your app to the App Domains field in your app settings."

    A Facebook popup shows when I call login, and it has this message. This happens on web, but on Android, Facebook OnReady didn't happen at all!

    I didn't add any platforms yet in the Facebook Developer Console. I tried adding Android, but it requires extra information I don't know how to get in construct, like Class name and Key hashes.

    What am I missing, please?

    Thank you.

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Update:

    I managed to get to work in the preview mode by adding "preview.construct.net" and "construct.net" to the App Domains in Facebook Developer Console.

    I still don't know if this will work when I export to Android, though. (the android phone is not available to me at the moment)..

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)