Using Instagram Content in Emails

read
Last updated at:

Overview

With a custom web feed, you can connect your Instagram content to your campaign and flow emails and dynamically display your latest Instagram photos, captions, and more.

This guide shows you how to set up a custom web feed with your Instagram account. From there, you can work with our custom web feed guides to pull your Instagram data into your campaign and flow emails.

As of June 29, 2020, the Instagram platform will be deprecating its API. This guide uses a third-party app to generate an Instagram access token which will no longer work as of March 2, 2020. Instagram recommends using a different 3rd party app to set up an Instagram feed. For more information, see Instagram's announcement.

Set Up an Instagram Web Feed

This procedure uses a third-party application to generate an Instagram access token. As mentioned above, this procedure will no longer work as of March 2, 2020. 

Navigate to this URL and click Generate Access Token After Updating Theme to generate an Instagram access token.

If you're not logged in to your Instagram account, you will be redirected and prompted to log in. If you are logged in, you will be immediately taken to a page displaying your generated access token.

Copy this token and store it in a secure place.

Create an Instagram Custom Web Feed

Add your Instagram access token to the end of the following url:

https://api.instagram.com/v1/users/self/media/recent/?access_token=

For example, if you generated abc123DEF456ghi789klm101NOP112qRs131tuv415WxY161zAb as your Instagram access token, then you would construct the following URL:

https://api.instagram.com/v1/users/self/media/recent/?access_token=abc123DEF456ghi789klm101NOP112qRs131tuv415WxY161zAb

Next, use this url to generate a custom web feed inside your Klaviyo account. From your Klaviyo account, navigate to your Data Feeds tab. Click Add Web Feed.

Name your feed, and for the Feed URL, enter the URL you constructed above.

You can leave the rest of the settings the same. Click Add Data Feed and your Instagram webfeed is ready to use.

Pull Instagram Content into Your Campaign Emails

With your Instagram access token generated, and your Instagram web feed set up, you can follow our guide on adding a custom web feed to a campaign. This guide gives you more details on adding your Instagram web feed to a campaign and referencing your Instagram content dynamically into your campaign emails.

Pull Instagram Content into Your Flow Emails

With your Instagram access token generated, and your Instagram web feed set up, you can follow our guide on adding a custom web feed to a flow. This guide gives you more details on adding your Instagram web feed to a campaign and referencing your Instagram content dynamically into your campaign emails.

 

 

x
Was this article helpful?
38 out of 88 found this helpful