We have an app that makes posts to a page under a Facebook account. We use Facebook Login to get permission to do so. This app will be used by many of our clients, each of whom gets a subdomain under ihouseelite.com. Since we are using the Javascript API for login, we need to set the "Allowed Domains for the JavaScript SDK" value. We used to be able to use wildcards for this values ( "https://*.ihouseelite.com), but that has been disallowed. We currently have over 1000 customers, and hopefully will be adding more.

Can we update this value programmatically? I tried using app_domains from this page:

https://developers.facebook.com/docs/graph-api/reference/application/#parameters-3 curl -i -X POST "https://graph.facebook.com/APP_ID? app_domains=DOMAIN_LIST&access_token=APP_ACCESS_TOKEN 

But that changes the App domain, not the allowed javascript domains value.

Tag:facebook-graph-api, facebook-login

Add a new comment.