Using Instagram Content in Campaign Emails

read

Overview

With a custom web feed you can connect your Instagram content to your campaign 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 guide to pull your Instagram data into your campaign emails.

Note

This procedure uses a 3rd party application to generate an Instagram access token. This token is needed to setup your custom web feed with Instagram. Keep your Instagram access token safe and exercise security best practices when working with your token.

Setup an Instagram Web Feed

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 we feed is ready to use.

Pull Instagram Content into your Campaign Emails

With your Instagram access token generated, and your Instagram web feed setup, you can follow our guide on adding a custom web feed. 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.

Was this article helpful?
1 out of 4 found this helpful