# Facebook Configuration

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

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

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FsCwk9kpGW2Ffl5TlaRVg%2Fimage.png?alt=media&#x26;token=950bcfe5-9a1f-45f7-ad49-38ac45b81f7c" alt=""><figcaption></figcaption></figure>

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

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

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2Fx3sPSLqy7iO11pfCwRFc%2Fimage.png?alt=media&#x26;token=d0d7d862-419f-4aaf-b735-a4fa03ad0d60" alt=""><figcaption></figcaption></figure>

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

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

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FdxSCeUCMhOC8JJz0iYtd%2Fimage.png?alt=media&#x26;token=190f579e-2606-4d38-8564-c64aeb8e8e4b" 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="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2F2af9JgwzNHVuNXjOETrY%2Fimage.png?alt=media&#x26;token=c2f196f8-6c6c-45ea-b4fd-463ab9a4f0ad" alt=""><figcaption></figcaption></figure>

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

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

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FV7KDxdgf0B9M79n7qBJ1%2Fimage.png?alt=media&#x26;token=eb5d4ada-9629-4571-b19a-cd694cef0531" 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="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FvFCoErQjYXg4LSO7823j%2Fimage.png?alt=media&#x26;token=2879771b-8fdc-41a2-8c04-657d1d97e014" 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="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FbZqno3XCBE72ksiCL94A%2Fimage.png?alt=media&#x26;token=17ecc7f0-7587-450b-9ea1-d3adcb7780f4" 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="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FcBdsmPte6ewCKsaEwFsm%2Fimage.png?alt=media&#x26;token=e4b2fbcf-2938-4f26-ba7c-baaae17a4d31" 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="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FZn2QphnHrBhM54qsMST3%2Fimage.png?alt=media&#x26;token=599e72ae-df11-4e69-a43e-9277161dc287" 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="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2Fj4rKHeD33Kc3gnsSEqBv%2Fimage.png?alt=media&#x26;token=fe1b1e9d-18d5-428d-ad37-fbbfc56ad062" alt=""><figcaption></figcaption></figure>
