# Remove Facebook chat & leftover code

{% hint style="danger" %}
<mark style="color:red;">**PingMe note:**</mark> This only happens if user install before 2022.

If you are using theme 2.0, once you delete the app PingMe, the code in your theme will be automatically removed.
{% endhint %}

If you want to remove or cancel the app subscription, please go to the **Apps** tab on your Shopify dashboard and click to Delete button of the Facebook Messenger - Live Chat.

![](https://1759282726-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIDxqPwZ4Y8sN12kJVuX0%2Fuploads%2F3lLUjRFpH7zog3qdsIxf%2Fdelete-app-ok_1negqoe.png?alt=media\&token=fddfd410-5e3e-4ff5-a28f-81c9027681ee)

When you have uninstalled our app, sometimes there will have some lines of code leftover on your site. But don't worry, you just need to follow a few steps to check if there is code leftover or not.

{% hint style="success" %}
<mark style="color:green;">**Step 1:**</mark> Go to the website and right-click **->** View Source **->** Ctrl+F to search for <mark style="color:blue;">`omg-facebook-chat`</mark>
{% endhint %}

If unluckily there is a code left, it will show like below:

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_kgakw4.png)

{% hint style="success" %}
<mark style="color:green;">**Step 2:**</mark> Go to Shopify dashboard, choose the Themes tab
{% endhint %}

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/screenshot37ok_1uwdaed.png)

{% hint style="success" %}
<mark style="color:green;">**Step 3:**</mark> Select Actions => Edit code
{% endhint %}

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/screenshot38ok_1uv8uj1.png)

{% hint style="success" %}
<mark style="color:green;">**Step 4:**</mark> Search for <mark style="color:blue;">`omg-facebook-chat`</mark>, delete this snippet, and click to **Save**.
{% endhint %}

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_sfvtzo.png)

{% hint style="success" %}
<mark style="color:green;">**Step 5:**</mark> Go to Theme.liquid and press **Ctrl + F** to find the code <mark style="color:blue;">`${color}#ff0000`</mark>
{% endhint %}

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_2m3ex.png)

{% hint style="success" %}
<mark style="color:green;">**Step 6:**</mark> Delete the code line then **Save**
{% endhint %}

{% hint style="success" %}
<mark style="color:green;">**Step 7:**</mark> Go to Snippets file, then find<mark style="color:blue;">`facebook-chat.js.liquid`</mark> and <mark style="color:blue;">`omg-facebook-chat.liquid`</mark>
{% endhint %}

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image20211110t033716809z_1f1w3io.png)

{% hint style="success" %}
**Step 8:** Delete those code snippets then **Save.**&#x20;
{% endhint %}

:tada: And you're done! Congrats!&#x20;
