# Instagram

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2FGeIkBQFI4LGjyGqhvlet%2Flivechat883x471%20(1).png?alt=media&#x26;token=9168d917-bd02-4cd6-a7af-eb9896c7a5ef" alt=""><figcaption><p><a href="https://apps.shopify.com/xflow?utm_source=foxecom&#x26;utm_medium=help_center_minimog&#x26;utm_campaign=banner">Install XFlow Back In Stock Automation FREE</a></p></figcaption></figure>

{% hint style="danger" %}
**Deprecated:** Due to the discontinuation of [Meta’s Instagram Basic Display API](https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/) on December 4, 2024, we will be deprecating the Instagram section. We recommend switching to an [Instagram integration app](https://apps.shopify.com/search?q=instagram+feed\&st_source=autocomplete) to maintain this functionality.
{% endhint %}

{% embed url="<https://youtu.be/fC6Gr-Uoxs4>" %}

Instagram is one of the most influential social platforms that can attract potential customers. Using it in your store can be a tactic move.

![](https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2FQbp5axFWKeUaLYlAz6XL%2Fimage.png?alt=media\&token=eb53ae8d-ab55-49c0-a5c2-ccb842c2d64c)

## How to add an Instagram section

{% hint style="success" %}
Steps to add **Instagram** to the home page

1. In the theme editor (**Customize**), click **Add section**
2. Locate **Instagram**
3. **Save**
   {% endhint %}

{% hint style="warning" %}
Make sure to update your Instagram token in **Theme settings** > **Integration.**
{% endhint %}

## Generate your Instagram token

To get an Instagram Access Token, you will need:

* A Facebook account
* An Instagram account

Follow our video to get an Instagram Access Token for your Shopify store:

{% embed url="<https://youtu.be/nHnsqFAjjJM>" %}

{% hint style="success" %}
**Steps:**

1. Register application on [Facebook for Developers](https://developers.facebook.com/).
2. Register new app.
3. Configure Instagram Basic Display.
4. Get Access Token.
   {% endhint %}

{% hint style="info" %}
By default, access tokens are valid for 60 days. Therefore, kindly refresh your Instagram token regularly.

The section works with tokens created using **Personal** accounts.
{% endhint %}

## Section settings

### **Section header and General**

Use the provided fields to add a **Heading**/**Subheading**/**Description** for the section. Leave any of the fields blank if you do not want to display them. Adjust the **Heading size** (Medium/Large) and **Text alignment** (Left/Center) based on your requirements.

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2F7x0lziFyUdvrgqPG7GoB%2Fimage.png?alt=media&#x26;token=645a51f5-a42b-4638-9d0b-ba895a3e3bed" alt=""><figcaption></figcaption></figure>

Select the **Container type, Color scheme,** and **Header color scheme** (Only work with Metro layout) for your Instagram section.

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2Fa7T1UZxGA1Vs8sYMyOem%2Fimage.png?alt=media&#x26;token=10761a57-9798-4d92-8b61-a2f0ca111c14" alt=""><figcaption></figcaption></figure>

### **Layout settings**&#x20;

Select your preferred layout (Grid/Metro 1/Metro 2). Use the slider to adjust the number of shown images, the images per row, and the gap between images on desktop and mobile separately.

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2FxeocsRzYE8H4FgK4Fy67%2Fimage.png?alt=media&#x26;token=6acf8b0c-984e-4dd9-9fbf-a354def32841" alt=""><figcaption></figcaption></figure>

For example:

{% tabs %}
{% tab title="Grid" %}

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2FK6biWwYdbG9PCrfo01Mi%2Fimage.png?alt=media&#x26;token=8cf4ebe8-b79c-4896-ad71-273748b298ef" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Metro 1" %}

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2FkQXwbbOEroNvCrmnYaak%2Fimage.png?alt=media&#x26;token=303225ad-0059-4309-8e75-e73cb5a78c62" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Metro 2" %}

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2Fj0IJL7IRqInqM3smShWy%2Fimage.png?alt=media&#x26;token=75b4597e-a464-4fcd-8ade-876dde540ccd" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### **Follow button**&#x20;

Build a connection between your site and your Instagram page. Add your Instagram link and add a call-to-action button label.&#x20;

{% hint style="info" %}
The button only shows when you choose the **Metro layout** in the Settings part.
{% endhint %}

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2F3V4wCYeFHTf6mqDD8dNJ%2Fimage.png?alt=media&#x26;token=62404667-dd53-4dbf-a456-2b65f70a2c3b" alt=""><figcaption></figcaption></figure>

### **Mobile settings**&#x20;

Change the mobile layout to the horizontal scrollbar by enabling the **Use horizontal scrollbar** checkbox. Uncheck to display as grid on mobile.

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2FMWhYWMPG7jEXGH1UShKM%2Fimage.png?alt=media&#x26;token=1543e252-87a5-4df6-858e-fdf25e69dccd" alt=""><figcaption></figcaption></figure>
