facebook - Given URL is not allowed by the Application configuration -


i trying create facebook sign-in page according this tutorial. changed 2 lines

appid      : '370675846382420', // app id channelurl : '//http://bp.php5.cz/channel.html', // channel file 

and following error

given url not allowed application configuration.: 1 or more of given urls not allowed app's settings. must match website url or canvas url, or domain must subdomain of 1 of app's domains.

what might problem?

the problem whatever url hosting app not setup in application configuration. go app settings , ensure urls matching.

updated

steps:

  1. go 'basic' settings app
  2. select 'add platform'
  3. select 'website'
  4. put website url under 'site url'

enter image description here


Comments

Popular posts from this blog

Eclipse formatter for java ending braces -

ruby - Nesting modules inside of a Rails eninge gem -

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -