# Facebook

## Connect with Facebook

{% embed url="<https://drive.google.com/file/d/17AEFefsJd2DhHkq1jDfNKPl1pfMYtGTx/view?usp=sharing>" %}
Self help FB page (connect) video \
(Safari is not supported)
{% endembed %}

### Steps on how to connect Facebook to iMBrace

{% hint style="info" %}
Before beginning, please make sure that you have an existing Facebook account and are logged in to the Facebook account.
{% endhint %}

**Step 1:**  Click on the “**Channels**” button from the left sidebar menu and then click on “**ADD NEW**” that is under Facebook.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FgNon7R2sipbvEbFBZWtg%2Fimage.png?alt=media&#x26;token=37b900b2-a1d7-46bf-a8f6-7c7abb5a4991" alt=""><figcaption></figcaption></figure>

**Step 2:** After ensuring that you have an existing Facebook account, click on “**START**” to start adding your **Facebook Credential**.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FS9Qbx3BYyXY70FqZwqLi%2Fimage.png?alt=media&#x26;token=7547b7b8-10e1-4c73-a662-fec414a37281" alt="" width="563"><figcaption></figcaption></figure>

**Step 3:** In the pop-up window, select the businesses and the pages that you want **iMBrace App** to access and click on “**Continue**”.&#x20;

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FosDWUcggBMNJuESFu1MA%2Fimage.png?alt=media&#x26;token=6aec7da7-ab44-4663-97dc-27c29a85a6e8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F35ddHHwWIJXZCI0lAL6Z%2Fimage.png?alt=media&#x26;token=bdb57651-8c38-49ae-aa55-01a1a4ff239b" alt="" width="563"><figcaption></figcaption></figure>

**Step 4:**  Review what **iMBrace App** is requesting permission to do, click on **Save**.&#x20;

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FzZx9fX33Wk7ff34A3Mxv%2Fimage.png?alt=media&#x26;token=8e685e41-ade8-4188-ba09-3e596b220717" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
Note that the **iMBrace App** might not work properly if all permission options are not enabled. R
{% endhint %}

* You should receive a message that says “**You’ve now linked iMBrace App Dev to Facebook**”

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F4TyZypwKcycy48TY5YEb%2Fimage.png?alt=media&#x26;token=578547d7-cd6b-45b3-9ac7-dc6c68443f41" alt=""><figcaption></figcaption></figure>

**Step 5:** Your **Facebook Credential** that was created will be shown on the **Channel**, as shown in the figure below.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2Fy61pOdFZ9UUsicyS5Gci%2Fimage.png?alt=media&#x26;token=791653b5-ac2f-41b4-a50c-728f921bbf1d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The channel account can then be used to send and receive messages using the Facebook and Facebook trigger nodes.
{% endhint %}

## Disconnect with Facebook

{% embed url="<https://drive.google.com/file/d/1fXK8hRI8b9d_RMpwT4Ch5C4bPQUHVYCg/view?usp=share_link>" %}
Self help FB page (disconnect) video \
(Safari is not supported)
{% endembed %}

**STEP 1**: In iMBrace, click the **\[Remove] > \[LOG IN WITH FACEBOOK]**.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FS4owkSLxpBA8X8xvX8gq%2F1-1.png?alt=media&#x26;token=45ebdd83-f30d-45c0-b28a-1c2be02c7543" alt=""><figcaption><p>Delete icon</p></figcaption></figure>

**STEP 2**: Log in to your **Facebook account**.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FVGHFZT0RqT0RyVKjEoh6%2F2.png?alt=media&#x26;token=f1ebc1f2-69bb-46f8-8cfd-6f683c234a54" alt=""><figcaption><p>Lgo in Facebook</p></figcaption></figure>

**STEP 3**: Key in the **6-digit code** and click **\[Submit Code].**

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2Fpe1XGP1TYuuXeLXCaawE%2F3.png?alt=media&#x26;token=10d0d3f5-8302-4b71-9965-5e5737529166" alt=""><figcaption><p>Enyer 6-digit code</p></figcaption></figure>

**STEP 4:** Click **\[Continue as YOUR USERNAME]**.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F2PfbY7i5KsiX6NftguOd%2F4.png?alt=media&#x26;token=073480a9-21c9-42f0-9ea0-58977f58e6b7" alt=""><figcaption><p>Continue with your account</p></figcaption></figure>

**STEP 5**: Uncheck the **pages** you have connected with iMBrace App Stg and click **\[Next]**.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FOLgJiytc3R0gMlOFi9qS%2F1-5.png?alt=media&#x26;token=1062b1f3-eeb0-4b0b-b308-dbe5d05cea92" alt=""><figcaption><p>Pages selection</p></figcaption></figure>

**STEP 6:** Uncheck all the **options** and click **\[Done]**.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FMvBMxvUxzeNA4ZPCK0oM%2F1-6.png?alt=media&#x26;token=663d0fcf-f1b9-47b0-9c7e-86fe4301035f" alt=""><figcaption><p>Options selection</p></figcaption></figure>

**STEP 7:** Click **\[OK]**.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FJKfufrRhQeAINWxyEKBi%2F1-7.png?alt=media&#x26;token=4b20a975-5e36-4ceb-9095-6acd5ff1e5ef" alt=""><figcaption><p>Confirmation page</p></figcaption></figure>

**DONE:** You have disconnected the Facebook credential connection.
