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

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -