javascript - Facebook API won't allow subdomain -
the facebook app's app domain
set domain.com
. site url
set http://domain.com
. requests api domain.com
go through fine. however, requests lvh.domain.com
give 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 doing wrong? setting site url
lvh.domain.com
doesn't fix problem either.
one peculiarity lvh.domain.com
points localhost
, accessed @ port 8000
instead of default http port.
(domain
subbed in actual domain)
add lvh.domain.com list of app domains. site url fine if it's domain.com
Comments
Post a Comment