# Facebook login function not available

**URL:** <https://community.auth0.com/t/facebook-login-function-not-available/64009>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [June 7, 2021, 11:51am UTC](https://community.auth0.com/t/facebook-login-function-not-available/64009 "2021-06-07T11:51:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nlo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nlo/32/12751_2.png) [@nlo](https://community.auth0.com/u/nlo)\
**Post date:** [June 7, 2021, 11:51am UTC](https://community.auth0.com/t/facebook-login-function-not-available/64009/1 "2021-06-07T11:51:35Z")

</div>

Hi all,

I’m using Auth0 for react but for some reason its not working with Facebook. It works with Google though. It doesn’t even work when I try the connection in the Auth0 dashboard and go to Authentication → Social → Facebook → Try connection.

Is there something I’m missing?

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [June 7, 2021, 11:02pm UTC](https://community.auth0.com/t/facebook-login-function-not-available/64009/3 "2021-06-07T23:02:08Z")

</div>

Hi @nlo,

Welcome to the Community!

Can you give us more information? Are you seeing errors? Have you checked the developer console or network requests in your browser when you use the **Try** function? How about your Auth0 Dashboard logs?

---

<div class="post-metadata">

**Author:** ![nlo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nlo/32/12751_2.png) [@nlo](https://community.auth0.com/u/nlo)\
**Post date:** [June 8, 2021, 11:59am UTC](https://community.auth0.com/t/facebook-login-function-not-available/64009/5 "2021-06-08T11:59:39Z")

</div>

Hi @dan.woda thank you for your quick response! Unfortunately there is nothing Facebook related in my logs. Only Google and Twitter. (which work fine)

Could it be because my domain is currently localhost?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [June 8, 2021, 7:22pm UTC](https://community.auth0.com/t/facebook-login-function-not-available/64009/6 "2021-06-08T19:22:34Z")

</div>

We still need more information on the problem to effectively debug.

What do you mean by “not working”?

It should still work on localhost. Are you using the Auth0 dev keys for the facebook connection, or did you set up a facebook developer account and are using your own dev keys?

---

<div class="post-metadata">

**Author:** ![nlo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nlo/32/12751_2.png) [@nlo](https://community.auth0.com/u/nlo)\
**Post date:** [June 9, 2021, 7:20am UTC](https://community.auth0.com/t/facebook-login-function-not-available/64009/7 "2021-06-09T07:20:44Z")

</div>

I’ve tried my own keys as well as the Auth0 dev keys.

I’ve got the following message. (with http:localhost:3000 as my domain url setup at Facebook)

URL could not be loaded: The domain of this URL has not been added to the domains of this app. Add all of your app’s domains and subdomains to the App domains field in your app’s settings to allow this URL to load.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [June 9, 2021, 3:10pm UTC](https://community.auth0.com/t/facebook-login-function-not-available/64009/8 "2021-06-09T15:10:50Z")

</div>

> [@nlo](#):
>
> URL could not be loaded: The domain of this URL has not been added to the domains of this app. Add all of your app’s domains and subdomains to the App domains field in your app’s settings to allow this URL to load.

This is very important 😄

It sounds like you are trying to use your application domain when you should be using your Auth0 domain.

In the setup doc it describes how to find your Auth0 domain. Check out the doc, specifically the section titled _Find your Auth0 domain name_.

[https://auth0.com/docs/connections/social/facebook#set-up-app-in-facebook](https://auth0.com/docs/connections/social/facebook#set-up-app-in-facebook)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 13, 2021, 4:32pm UTC](https://community.auth0.com/t/facebook-login-function-not-available/64009/11 "2021-07-13T16:32:43Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
