How to add multiple facebook backlinks

I have a product (for example: somedomain.com) where people can create their own subdomains (for example, http://xyz.somedomain.com ) or even map their domains (for example: example.com)

Now I want to offer a feature so that my clients can enable the "Login with facebook" function in their subdomain.

Since facebook requires us to add a list of URLs under OAuth Client Settings> Valid OAuth Redirect URIs

Click for screenshot

What can I do to enable it to allow my product subdomain (e.g. http://xyz.somedomain.com ) or customer domains (e.g.: example.com)

thanks

+5
facebook
source share
3 answers

Answering my own question:

If you want your FB application to support wildcard subdomains (for example, http: //*.yourdomain.com), you must leave the "Valid UA redirect URIs" field blank in your application. But make sure that the "Domain Domain" field is set to "yourdomain.com", and the "Website URL" field is set to " http://yourdomain.com "

It was hard for me to understand this thing and finally succeeded after a week of research. I hope this will be useful for people struggling with the same problem.

Bonus: If your FB application does not allow you to leave the "Valid UA redirect URIs" field empty, try creating a new application. When you create a new fb application, it will by default set an empty field. So leave it as it is, and you should be fine.

+4
source share

You can add multiple callback URLs on the Settings → Advanced screen. Scroll down to the OAuth configuration, add the URLs and then save.

+2
source share

Hi @ Phantom007, how to add support for custom domains, as well as example.com, my.com and many others with somedomain.com subdomain

-3
source share

All Articles