> For the complete documentation index, see [llms.txt](https://magecomp.gitbook.io/shopify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magecomp.gitbook.io/shopify/apps/hook-social-login/configuration/facebook-configuration.md).

# Facebook Configuration

<mark style="color:blue;">**Step #1**</mark>

Visit [**Meta for Developers**](https://developers.facebook.com/)

<figure><img src="/files/DZs02qbosT1uGIplK1It" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #2**</mark>

Select the **Create App** button to start the setup process.

<figure><img src="/files/kxPjueflY32jyrsTJx3D" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #3**</mark>

Enter the **App Name** and **Contact Email** for your application.

<figure><img src="/files/2xwPD0TatxbqYqOfjeqm" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #4**</mark>

Select why your use case and select the **Facebook Login to authenticate users** and **request necessary data**.

<figure><img src="/files/rueU5tK0gWBBZRB1nv1k" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #5**</mark>

Select the **verified business** to connect with your Facebook app.

<figure><img src="/files/XgI5cF2ESkjDFfFlSnkW" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #6**</mark>

Ensure all requirements are met to publish your app and maintain data access permissions.

<figure><img src="/files/wK8fu4X7wm4BDzEkMN0a" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #7**</mark>

Go to the **Settings** section, and adjust settings as shown in the reference screenshot.

After that, add the **necessary URLs** under Allowed Domain.

<figure><img src="/files/hCUCI5Xiak95DiIl0334" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #8**</mark>

Copy your **Facebook App ID** and integrate it into the HOOK app.

<figure><img src="/files/cocJe0GVF96kTLaZJULf" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #9**</mark>

After following all these steps, go to **Online Store** <mark style="color:blue;">➤</mark> **Preferences** <mark style="color:blue;">➤</mark> **Spam Protection** and **Disable** the by default selected options:

* Contact and comment forms.
* Login, account creation, and password recovery pages.

<figure><img src="/files/hJOQq93X0cO3WxgFBIAu" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
It is necessary to keep these two options **Disabled** as they cause errors sometimes, which may cause a bad user experience.
{% endhint %}

<mark style="color:blue;">**Step #10**</mark>

Ensure the **Customer Accounts Type** is set to **Legacy**. If not, update the configuration.

<figure><img src="/files/9aRQ8XCfFeuEydNlzYZc" alt=""><figcaption></figcaption></figure>
