Comment to Facebook connect
-
I found this on the net, is it correct?
- Go to https://developers.facebook.com/.
- Create an account (you may have to register as a developer).
- Make sure you are logged in.
- Click on the "My Apps" dropdown in the top right corner of the header, next to your profile picture.
- Click "Create App". A popup asking "How are you using your app?" should appear.
- Choose the last option: "For Everything Else".
- Type your App Display Name. For example: "My Great Marketplace".
- Enter the contact email of your choice.
- Click "Create App ID". You may have to answer a security check.
- Don't select a Product or Recommended Product but instead...
- ... In the left hand menu, click "Settings" then "Basic".
- In "App Domains", add all the domains from which you want the Facebook login to work, i.e. all your marketplace domains. If you are moving between a Sharetribe subdomain and your custom domain, it's best to add both here to ensure that the Facebook login keeps working even when the domain changes. Add the domains without "https" or "www" or "subdomain":
- For your custom domain (in the Pro/Growth/Scale plan), the domain could be: "mygreatmarketplace.com"
- For your Sharetribe subdomain (in a trial or Starter or Hobby plan), the domain could be: "mygreatmarketplace.sharetribe.com" - Click "Add Platform".
- Select “Website”.
- In "Site URL", add your full marketplace's URL with https and possibly www or the subdomain:
- If you are on a Pro/Growth/Scale plan, it could be: "https://www.mygreatmarketplace.com",
"https://mygreatmarketplace.com", or "https://something.mygreatmarketplace.com".
- If you are on a trial, Starter or Hobby plan, it could be: "https://mygreatmarketplace.sharetribe.com" - Click "Save Changes" at the bottom right.
If you can't save because the "App Domains" part complains about "This must be derived from Secure Canvas URL, Unity Binary URL, Site URL, Mobile Site URL or Secure Page Tab URL. Check and correct the following domains: (missing-domain-here.com)", this is probably because you added two different domains while following the instructions above and only one is based on the current Site URL that you entered. The easiest way to overcome this limitation is to add a Secure Page Tab URL with following steps:
- Click "Add Platform"
- Select "Page tab"
- In "Secure Page Tab URL" add the missing domain (mentioned in the earlier error message) with https, e.g. "https://missing-domain-here.com"
- Click "Save Changes"