> 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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://magecomp.gitbook.io/shopify/apps/hook-social-login/configuration/facebook-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
