Skip to Content
StarsellDocs
Apps

Instagram

Connect a professional Instagram account, show your latest posts as a feed, tag products on a shoppable post, and use a post's photo on a product.

The Instagram app shows your Instagram on your store. It reads your latest posts, keeps their photos in Files, and gives the theme two sections: an Instagram feed of recent posts, and a Shoppable post with your products tagged on the photo. Any post it keeps can also become one of a product's photos.

Starsell signs in with the Instagram API with Instagram Login and asks for one permission, instagram_business_basic: your profile and your posts. It never posts, comments, or reads messages.

Set it up

Install

In the store: Apps, Instagram, Install.

Connect your account

Under Account, click Connect Instagram. Instagram opens, you sign in and allow Starsell, and you land back on the app's page with "Instagram connected. Reading your posts." The first read takes a few seconds; the posts appear by themselves.

The account has to be professional (business or creator). A personal account can switch for free in Instagram: Settings, Account type and tools, Switch to professional account.

If the button isn't there and the card says Instagram isn't set up on this server yet, the server is missing Starsell's Meta app keys. See For the platform team.

Add an Instagram feed

Under On your store, Instagram feed, click Add to the home page. The section goes into your draft theme just above the footer. Open it in the studio to pick its look, then publish.

Add a shoppable post

Tag products on a post (below), then Shoppable post, Add to the home page.

Use a post's photo on a product

Open a post under Posts, and under Use this photo on a product search for the product. The photo goes to the end of that product's photos.

The checklist beside the page ticks Connect when the sign-in works, and the section steps when your draft or live theme has the section, also when you added it in the studio yourself. Mark done ticks a step by hand.

The sections

Instagram feed

SettingWhat it does
Heading"On Instagram" by default, per language.
LayoutOne row, Grid (3 or 4 a row), or Slider that visitors swipe. On phones a row becomes 3 a row and a slider shows two and a bit.
How many posts3 to 12, newest first.
Button to the profile"Follow @yourshop", opening your profile.

Every post opens on Instagram. Reels and carousels show a small mark in the corner. Photos you picked in this section before the app existed (Photos (without the app)) still show while the app isn't connected.

Shoppable post

SettingWhat it does
Heading"Shop the post" when left empty, in the visitor's language.
TextA line under the heading.
PostAutomatic (the newest post with product tags) or one post you pick.
List the tagged productsThe numbered list of products beside the photo, with their prices.
Photo on the other sideSwaps the photo and the list.

Each tag is a numbered dot on the photo that links to its product; pointing at it shows the product's name. A tagged product that is a draft, archived, or not sold in the visitor's market drops its dot.

Tag products on a post

Under Posts, click a post. Click the photo where a product is: a numbered tag appears there, and a search opens for its product. Pick one. Up to 8 tags a post. Click a tag to change its product, the cross to remove it, then Save tags. Tags are stored with the photo's own shape, so they land in the same place on every theme and screen.

What syncs

  • Posts: the latest 24 photos, reels and carousels, read when you connect, every hour after that, and right away with Read again. Older posts that have product tags stay too.
  • Photos: copied into Files, in the Instagram folder, marked From Instagram. Instagram's own photo links expire, so the store always shows Starsell's copy. A reel shows its cover; a carousel its first photo. Files lists them as used by the Instagram app, so they can't be deleted from under it.
  • Alt text: the post's alt text from Instagram, when it has one.
  • The sign-in: Instagram's 60-day token is renewed by itself well before it ends.

Limits

  • Captions don't come along: Instagram only gives them to apps that use Facebook Login, not Instagram Login.
  • Stories aren't read. Reels whose audio Instagram holds back (licensed music) and have no cover are skipped.
  • Visitors don't see the sections until the app is installed and connected. In the studio they say how to connect instead.
  • If Instagram stops accepting the sign-in (a new password, access removed in Instagram), the page shows Connect again. The posts already kept stay on the store until then.

Disconnect and uninstall

Disconnect forgets the sign-in and the kept posts and deletes their photos, unless a product, a section, or an email uses one: those stay in Files as ordinary files. Product tags go too. The Instagram sections stop showing until you connect again.

Uninstall does the same and removes the app. Removing Starsell from your Instagram account (in Instagram: Settings, Apps and websites) also disconnects it in every store that used that account.

For the platform team

The app needs Starsell's Meta app, of type Business, with the Instagram API with Instagram Login product:

  1. In the Meta app's Instagram > API setup with Instagram login, copy the Instagram app ID and Instagram app secret into META_APP_ID and META_APP_SECRET.
  2. Under Business login settings, add the redirect URL https://<your WEB_URL>/api/apps/instagram/callback. Instagram only accepts https.
  3. Set the Deauthorize callback URL to /api/apps/instagram/deauthorize and the Data deletion request URL to /api/apps/instagram/data-deletion on the same host.
  4. Until the app passes Meta's app review for instagram_business_basic, only accounts added as testers in the Meta app can connect.

On this page