Social Feeds

Social Feeds docs

Social Feeds shows a business's own Instagram posts on its website. This page lists everything you can set and style. For worked examples, see overriding the design. Coding agents can read the same reference as plain text.

Contents

Installing

EmDash

In the site's folder, run:

npx @ninetysixsoftware/social-feeds init

It installs the package and adds socialFeeds() to the EmDash plugins in astro.config.mjs. Running it again changes nothing. --dry-run shows what it would change, --feed <id> shows that feed until the site is linked, and --claude copies a Claude Code skill for placing the feed into .claude/skills/. If it can't edit the config safely, it leaves it alone and prints what to add:

// astro.config.mjs
import socialFeeds from "@ninetysixsoftware/social-feeds";

emdash({
  // ...
  plugins: [socialFeeds()],
});

Then open the site's admin, go to Plugins, then Social Feeds, start a free trial or link your account, and connect Instagram. Editors get an Instagram feed block in the page editor. Developers can put the component in a template.

The admin page keeps the site key encrypted, which needs EmDash's EMDASH_ENCRYPTION_KEY. Sites made with create-emdash have one. Nothing needs adding to wrangler.jsonc.

Astro without EmDash

Install @ninetysixsoftware/social-feeds and use the component. Start your trial and connect Instagram in your Social Feeds account.

Any other website

Add the site's address in your Social Feeds account, connect Instagram, and paste the embed code where the posts should go:

<div data-social-feed="your-feed-id"></div>
<script src="https://feeds.ninetysixsoftware.co.uk/embed.js" async></script>

With Claude Code

Paste this into Claude Code in the site's folder, with your feed id:

Run `npx @ninetysixsoftware/social-feeds init --claude` in this site. Then read .claude/skills/social-feed/SKILL.md and follow it to place my Instagram feed where it fits this site's design. Docs: https://feeds.ninetysixsoftware.co.uk/llms.txt

How a feed's look is decided

Four layers, each overriding the one before, so the result is always predictable:

  1. Settings in the Social Feeds admin page or your account. They come with the feed, so a change shows without a deploy, within about 5 minutes.
  2. Props on the component, or data attributes on the embed, for one placement.
  3. Tokens, the --nsf-* custom properties, set in your CSS.
  4. Your CSS on the classes and data attributes.

The feed's styles sit in a cascade layer called nsf, behind :where(), so any normal CSS on your site wins. You never need !important. A few spacing resets for lists, margins and images sit outside the layer, so a page's text styles don't leak into the feed. They're plain two-class selectors, easy to override.

Settings

Every setting with its default. These are the names in the JSON API. Props and embed attributes take the same values. Each feed has a default look and up to 5 named looks, each a full set of these.

Layout

SettingDefaultValuesWhat it does
layout"strip"strip, grid, carousel, masonrystrip is one row that scrolls sideways, with columns posts across. carousel shows one post at a time, centred and up to --nsf-carousel-width wide, and ignores columns. grid wraps into rows. masonry is columns of images at their own heights.
postsnull1 up to the plan's posts per feed, or nullHow many posts to show. null shows every post the plan allows. Only trims what's shown, it never fetches more. With show_more, the size of each batch.
show_morefalsetrue, falseGrid and masonry only. A Show more button adds another batch of posts, up to the plan's posts per feed.

Size

SettingDefaultValuesWhat it does
columns{"phone":2.4,"tablet":4,"desktop":6}phone 1 to 4, tablet 1 to 8, desktop 1 to 10, to one decimal placeTiles across. Tablet starts at 640px wide and desktop at 1024px. In a strip, a fraction like 2.4 shows part of the next tile, so people can see it scrolls. Grid and masonry round down to whole tiles.
gap120 to 48 (pixels)The space between tiles.
radius80 to 48 (pixels)Corner radius of the tiles. Buttons and the arrows below the posts use half of it.
shape"square"square, portrait, landscape, originalsquare is 1:1, portrait 4:5, landscape 4:3, and original keeps each image's own shape. Masonry always uses original.
fit"cover"cover, containcover crops each image to fill its tile. contain fits the whole image inside, so posters and graphics keep their edges.
borderfalsetrue, falseA border round each tile, border_width wide, in border_color.
tile_size{"phone":null,"tablet":null,"desktop":null}{ phone, tablet, desktop }, each 60 to 800 or nullA post's width in pixels on that device, instead of columns. A strip uses it for each post, a grid fits as many as there's room for, masonry makes columns that wide, and a carousel's post is that wide. null uses columns.
border_width11 to 8The border's width in pixels, when border is on.
border_colornulla colour like #d4a73a, or nullThe border's colour. null is a soft line from the text colour (--nsf-border).

Scrolling

SettingDefaultValuesWhat it does
snap"start"none, start, centerWhere a strip or carousel comes to rest after scrolling. none lets it stop anywhere.
arrows"hover"always, hover, neverArrows for a strip or carousel. hover shows them when the pointer is over the feed, and hides the side arrows on touch screens, which swipe instead.
edge{"phone":false,"tablet":false,"desktop":false}phone, tablet and desktop, each true or falseA strip or carousel runs out to the screen's edges on that device, while its first tile still lines up with the page. Needs the feed's script, which measures the gap to the edge. An ancestor with overflow hidden clips it.
arrows_position"sides"sides, belowsides puts round buttons over the posts. below puts square buttons under them, greyed out at each end.
scroll_by"page"page, tileWhat the arrows and autoplay move by: a page of tiles, or one tile.
fadefalsetrue, falseFades the edges of a strip or carousel where there's more to scroll to.
dragtruetrue, falseLets people drag a strip or carousel sideways with a mouse. Touch always scrolls.
autoplay00, or 2 to 15 (seconds)Seconds between automatic moves in a strip or carousel. 0 is off. It pauses on hover and focus, and never runs for people who ask for reduced motion.

Content

SettingDefaultValuesWhat it does
captions"off"off, below, hoverCaptions without hashtags, under each tile or over it on hover. Touch screens always show hover captions.
caption_lines21 to 6Lines of caption before it's cut off.
badgestruetrue, falseSmall video and carousel icons on tiles.
SettingDefaultValuesWhat it does
header"username"none, username, profile, iconusername shows the heading (the title, or @username). profile shows the account's picture, name and @username. icon shows an Instagram icon with the heading and the intro line. none hides the header.
titlenullup to 80 characters, or nullThe heading instead of @username. null uses the username.
subtitlenullup to 160 characters, or nullAn intro line under the heading.
heading"p"p, h2, h3The heading's element. h2 and h3 take the site's own heading styles. p uses the feed's --nsf-title-font and --nsf-title-size.
accentnulla colour like #2cf08b, or nullThe colour of button and arrow hovers, focus rings, and the Instagram icon unless icon_color is set. null follows the text colour.
font"site"site, sans, serif, mono, grotesque, humanist, geometric, classical, rounded, condensed, old_style, slab, didone, handwrittenThe feed's text. site keeps the page's own font. The others are font stacks already on people's devices, so nothing extra loads, and each looks a little different on Mac, Windows and phones. A heading set to h2 or h3 keeps the site's heading font.
text_colornulla colour like #1d1e20, or nullThe colour of the heading, captions and links. null follows the site.
icon_style"outline"outline, solid, gradientThe Instagram icon in the icon header: an outline, filled in, or in Instagram's own gradient.
icon_colornulla colour like #e1306c, or nullThe icon's colour. null uses accent. Not used for the gradient.
follow"header"off, header, belowWhere the link to the Instagram profile goes: off, in the header, or below the posts.
follow_label"Follow on Instagram"1 to 40 charactersThe Follow link's text.
follow_style"link"link, button, pillA plain link, a button, or a pill (a fully rounded button).
follow_fill"outline"outline, filledFor a button or pill: outlined, or filled with the accent colour (the text colour if there's no accent), with black or white text to suit.
header_position"above"above, belowThe header above or below the posts. A Follow link in the header moves with it.
header_align"spread"spread, start, center, endspread puts the heading at the start and the Follow link at the end. start, center and end keep them together there.
footer_align"center"start, center, endWhere Show more and a Follow link below the posts sit.
title_sizenull10 to 72, or nullThe heading's or name's size in pixels. null uses the feed's own, or the site's heading style.
title_weightnull300, 400, 500, 600, 700, 800, 900, or nullThe heading's or name's weight. null uses the feed's own, or the site's heading style.
follow_sizenull10 to 32, or nullThe Follow link's text size in pixels. null matches the feed.
follow_weightnull300, 400, 500, 600, 700, 800, 900, or nullThe Follow link's weight. null uses the feed's own.
icon_size4429 to 96The Instagram icon's and profile picture's size in pixels. 29 is the smallest Instagram allows for its icon.

Motion and clicks

SettingDefaultValuesWhat it does
hover"zoom"none, zoom, darken, liftWhat a tile does under the pointer: nothing, zoom the image, darken it, or lift the tile and zoom.
fade_intruetrue, falseImages fade in as they load.
click"instagram"instagram, lightbox, noneinstagram opens the post on Instagram. lightbox shows it larger on the page with its caption. none means tiles aren't links. Plan lightbox needs Pro or Agency. On other plans it falls back to "instagram".

Stored

SettingDefaultValuesWhat it does
version44The schema version. Older stored settings are upgraded when read, and every new setting's default keeps an older feed looking as it did.
hidden[]a list of post idsPosts the site has hidden in the admin. They're never sent in the public feed and don't count towards the plan's posts per feed.

Named looks

A look is another set of settings for the same feed, so one feed can be a strip on the home page and a grid on another page. A feed has its default look and up to 5 named looks. Make them in the Social Feeds admin page or your account.

The Astro component

---
import SocialFeed from "@ninetysixsoftware/social-feeds/SocialFeed.astro";
---
<!-- EmDash: shows the feed linked in the Social Feeds admin page -->
<SocialFeed />
<SocialFeed look="Homepage" class="site-feed" />
<SocialFeed layout="grid" posts={6} columns={{ phone: 2, desktop: 3 }} title={false} />

<!-- Astro without EmDash, or a site with several feeds -->
<SocialFeed feed="your-feed-id" />

It renders on the server, so the tiles are in the page's HTML. It adds the stylesheet once per page, however many feeds it has.

Props

PropTypeWhat it does
feedstringThe feed id from Social Feeds. Not a secret. On an EmDash site, leave it out to show the feed linked in the Social Feeds admin page. Required on other Astro sites.
lookstringA named look, by id or name. Blank uses the default look.
classstringExtra classes on the feed's section, for your CSS.
any settingas in the settingsOverrides that setting for this placement. Use the setting's name or camelCase: captionLines, scrollBy, arrowsPosition, fadeIn, showMore, followStyle, followLabel.
columns{ phone, tablet, desktop }Tiles across. Give any of the three.
titlestring or falseThe heading text. false hides the whole header.
followstring or falseThe Follow link's label. false hides the link.
followPosition"header" or "below"Where the Follow link goes.
siteKeystringThe feed's site key. Defaults to the SOCIAL_FEEDS_KEY_<FEED_ID> or SOCIAL_FEEDS_KEY secret, which is better than a prop.
cacheSecondsnumberHow long the site's server reuses the feed. Default 60. 0 turns it off.
noncestringYour Content Security Policy's nonce, put on the feed's style elements, so style-src needs no 'unsafe-inline'.
apiOriginstringAnother copy of the service, for testing. SOCIAL_FEEDS_API does the same for every feed.

Slots

SlotWhat it does
headerReplaces what's inside the header: the heading, the profile and the Follow link.
footerAdded below the posts, after Show more and the Follow link.
emptyShown when there are no posts, or Social Feeds doesn't answer within 2 seconds. Without it, nothing is shown.
<SocialFeed feed="your-feed-id" heading="h2">
  <h2 slot="header" class="section-title">On Instagram</h2>
  <p slot="empty">See our latest posts on Instagram.</p>
</SocialFeed>

Caching

The component keeps each feed for 60 seconds on the server that renders the page: in Cloudflare's cache on Workers, otherwise in memory. If Social Feeds is slow or down, the last good copy shows for up to a day. On a page that's prerendered at build time, the feed only changes when the site is rebuilt, so use export const prerender = false on pages with a feed.

Tokens

Set these in your own CSS on the feed, or on the class you gave it:

.site-feed {
  --nsf-radius: 0;
  --nsf-gap: 16px;
  --nsf-columns-desktop: 4;
}
TokenDefaultWhat it sets
--nsf-columnsvar(--nsf-columns-phone, 2.4)Tiles across at the current width. Set it to fix the number at every width.
--nsf-columns-phone2.4 (setting)Tiles across below 640px. From the columns setting.
--nsf-columns-tablet4 (setting)Tiles across from 640px. From the columns setting.
--nsf-columns-desktop6 (setting)Tiles across from 1024px. From the columns setting.
--nsf-gap12pxSpace between tiles. From the gap setting.
--nsf-radius8pxTile corners. From the radius setting.
--nsf-aspect1Tile shape, from the shape setting: 1, 4 / 5, 4 / 3 or auto.
--nsf-tile-bgcolor-mix(in srgb, currentColor 8%, transparent)Shows behind each image while it loads.
--nsf-title-fontinheritThe heading's font, when the heading is a p.
--nsf-title-size1.25remThe heading's size. title_size sets it, and then it beats the site's heading style too.
--nsf-avatar-size44pxThe profile picture and Instagram icon in the header.
--nsf-mutedcolor-mix(in srgb, currentColor 62%, transparent)The intro line and @username.
--nsf-button-radius999pxThe corners of a pill Follow button.
--nsf-button-bordercolor-mix(in srgb, currentColor 28%, transparent)The outline of buttons and the arrows below the posts.
--nsf-button-bgA filled Follow button's colour. From the accent setting, otherwise the text colour.
--nsf-button-fgA filled Follow button's text: black or white, whichever reads on --nsf-button-bg.
--nsf-edge-startWith the edge setting, the gap from the feed's left to the screen's edge. The feed's script measures it, and you can set it yourself.
--nsf-edge-endThe same on the right.
--nsf-caption-fontinheritCaption font.
--nsf-caption-size0.875remCaption size.
--nsf-caption-lines2Lines before a caption is cut off. From the caption_lines setting.
--nsf-caption-overlayrgb(0 0 0 / 0.62)Behind captions shown on hover.
--nsf-darkenrgb(0 0 0 / 0.28)The darken hover's colour.
--nsf-arrow-bgCanvasRound arrows' background. Canvas follows the page's colour scheme.
--nsf-arrow-fgCanvasTextRound arrows' icon colour.
--nsf-arrow-size44pxArrow button size.
--nsf-fade-size48pxHow far the edge fade reaches.
--nsf-carousel-width640pxThe widest a carousel's post gets. On wider screens the posts either side peek in.
--nsf-accentcurrentColorHovers, focus rings, and the Instagram icon unless --nsf-icon is set. From the accent setting.
--nsf-iconThe Instagram icon's colour. From the icon_color setting, otherwise --nsf-accent.
--nsf-textThe feed's text colour. From the text_color setting, otherwise the site's.
--nsf-fontThe feed's font. From the font setting, otherwise the site's.
--nsf-focusvar(--nsf-accent)Focus rings. Follows --nsf-accent.
--nsf-bordercolor-mix(in srgb, currentColor 16%, transparent)Tile borders, when the border setting is on. border_color sets it.
--nsf-border-widthThe tile border's width. border_width sets it.
--nsf-follow-sizeThe Follow link's text size, when follow_size is set.
--nsf-follow-weightThe Follow link's weight, when follow_weight is set.
--nsf-title-weightThe heading's weight, when title_weight is set.
--nsf-control-radiuscalc(var(--nsf-radius) / 2)Corners of outlined buttons and the arrows below the posts. Half of --nsf-radius.
--nsf-badge#fffVideo and carousel icons.
--nsf-hover-zoom1.04How far the zoom hover scales the image. 1 turns it off.
--nsf-lightbox-backdroprgb(0 0 0 / 0.82)Behind the lightbox.
--nsf-lightbox-bgCanvasThe lightbox panel. Unless you set it, it takes the page's background.
--nsf-lightbox-fgCanvasTextThe lightbox text. Unless you set it, it takes the feed's text colour.

Classes

Class names are prefixed and only change in a major version.

ClassWhat it is
.nsf-feedThe whole feed, a section. Carries the data attributes below.
.nsf-feed__headerThe header row: the heading or profile, and the Follow link. data-header says which.
.nsf-feed__introThe heading and intro line, with header username.
.nsf-feed__titleThe heading, with header username.
.nsf-feed__subtitleThe intro line.
.nsf-feed__profileThe picture or icon and the names, with header profile or icon.
.nsf-feed__avatarThe profile picture, or its first letter.
.nsf-feed__iconThe Instagram icon, with header icon.
.nsf-feed__namesThe name and the line under it.
.nsf-feed__nameThe heading, with header profile or icon.
.nsf-feed__usernameThe @username under the name.
.nsf-feed__followThe Follow link. data-style is link, button or pill.
.nsf-feed__viewportHolds the posts and the side arrows.
.nsf-feed__trackThe list of posts. It scrolls in a strip or carousel.
.nsf-feed__itemOne post. data-type is image, video or carousel.
.nsf-feed__linkThe post's link, or a div when click is none.
.nsf-feed__mediaThe image's frame, which clips the corners.
.nsf-feed__imgThe image.
.nsf-feed__badgeThe video or carousel icon.
.nsf-feed__captionThe caption.
.nsf-feed__navAn arrow button.
.nsf-feed__nav--prevThe previous arrow.
.nsf-feed__nav--nextThe next arrow.
.nsf-feed__controlsThe row of arrows below the posts.
.nsf-feed__footerBelow the posts: Show more and the Follow link.
.nsf-feed__moreThe Show more button.
.nsf-lightboxThe lightbox, a dialog inside the feed.
.nsf-lightbox__frameThe lightbox's two columns.
.nsf-lightbox__mediaThe lightbox image's frame.
.nsf-lightbox__imgThe lightbox image.
.nsf-lightbox__panelThe caption side of the lightbox.
.nsf-lightbox__titleThe lightbox heading.
.nsf-lightbox__captionThe full caption.
.nsf-lightbox__dateThe post's date.
.nsf-lightbox__openThe link to the post on Instagram.
.nsf-lightbox__closeThe close button.
.nsf-lightbox__navThe lightbox's arrows.
.nsf-lightbox__nav--prevThe lightbox's previous arrow.
.nsf-lightbox__nav--nextThe lightbox's next arrow.

Data attributes

Settings and state show as data attributes, not extra classes, so you can style them:

.site-feed[data-layout="grid"] .nsf-feed__item[data-type="video"] { outline: 2px solid red; }
AttributeOnWhat it says
data-layout.nsf-feedThe layout setting.
data-shape.nsf-feedThe shape setting.
data-snap.nsf-feedThe snap setting.
data-arrows.nsf-feedThe arrows setting.
data-arrows-position.nsf-feedsides or below, when there are arrows.
data-captions.nsf-feedThe captions setting.
data-hover.nsf-feedThe hover setting.
data-fit.nsf-feedThe fit setting.
data-border.nsf-feedPresent when tiles have borders.
data-click.nsf-feedThe click setting.
data-scroll-by.nsf-feedpage or tile, in a strip or carousel.
data-fade.nsf-feedPresent when a strip or carousel fades at its edges.
data-edge.nsf-feedThe devices a strip or carousel runs to the screen's edges on: phone, tablet and desktop, space separated.
data-device.nsf-feedOnly in the admin previews: the device they show, so the edge follows it.
data-header-align.nsf-feedstart, center or end, when the header isn't spread.
data-header-position.nsf-feedbelow, when the header is under the posts.
data-footer-align.nsf-feedstart or end, when the footer isn't centred.
data-title-size, data-title-weight.nsf-feedPresent when the heading's size or weight is set, which then beats the site's heading style.
data-follow-size, data-follow-weight.nsf-feedPresent when the Follow link's size or weight is set.
data-fill-ready.nsf-feedPresent once a filled Follow button's colour is known, from the settings or the site's text colour.
data-fill.nsf-feed__followfilled for a filled button or pill.
data-drag.nsf-feedPresent when a strip or carousel can be dragged with a mouse.
data-autoplay.nsf-feedSeconds between moves, when autoplay is on.
data-fade-in.nsf-feedPresent when images fade in.
data-batch.nsf-feedPosts per batch, when Show more is on.
data-nsf-id.nsf-feedA unique id for this placement. The setting tokens are scoped to it.
data-nsf-feed.nsf-feedThe feed id.
data-ready.nsf-feedAdded once the script is running.
data-at-start.nsf-feedAdded while a strip is scrolled to the start.
data-at-end.nsf-feedAdded while a strip is scrolled to the end.
data-dragging.nsf-feedAdded while someone drags the strip.
data-header.nsf-feed__headernone, username, profile, icon, or custom for the header slot.
data-type.nsf-feed__itemimage, video or carousel.
data-style.nsf-feed__followlink, button or pill.
data-caption.nsf-feed__linkThe caption, for the lightbox.
data-time.nsf-feed__linkThe post's date, for the lightbox.
data-loaded.nsf-feed__imgAdded when the image has loaded, for the fade in.

The embed for any website

<div data-social-feed="your-feed-id"></div>
<script src="https://feeds.ninetysixsoftware.co.uk/embed.js" async></script>

It draws the feed with the same code and styles as the component, so the same tokens and classes work. The feed only loads on the site addresses in your Social Feeds account. Attributes on the div override settings for that placement:

AttributeWhat it does
data-social-feedRequired. The feed id.
data-lookA named look, by id or name.
nonce (on the script tag)Your Content Security Policy's nonce. The embed puts it on the feed's style elements too.
data-layout, data-posts, data-gap and the restAny setting, with dashes: data-caption-lines, data-arrows-position, data-scroll-by, data-follow-style, data-show-more.
data-columns-phone, data-columns-tablet, data-columns-desktopTiles across at each width.
data-edge-phone, data-edge-tablet, data-edge-desktoptrue or false. A strip runs to the screen's edges at that width.
data-tile-size-phone, data-tile-size-tablet, data-tile-size-desktopA post's width in pixels at that width, or auto to use columns.
data-titleThe heading. Empty hides the header.
data-followoff, header or below. Empty or false hides the link. Any other text is the link's label.
<div data-social-feed="your-feed-id" data-look="gallery-grid" data-columns-desktop="3" data-follow-label="See more"></div>

The JSON API

GET https://feeds.ninetysixsoftware.co.uk/api/feeds/your-feed-id?limit=6&look=homepage

{
  "feed": "your-feed-id",
  "username": "harbourgym",
  "name": "Harbour Gym",
  "avatar_url": "https://...",
  "profile_url": "https://www.instagram.com/harbourgym/",
  "updated_at": "2026-11-24T09:15:00.000Z",
  "settings": { "version": 3, "layout": "strip", "posts": 8, ... },
  "looks": { "homepage": { "name": "Homepage", "settings": { ... } } },
  "posts": [
    {
      "id": "17900000000000000",
      "type": "image",
      "image_url": "https://...",
      "thumbnails": { "320": "https://...", "640": "https://..." },
      "permalink": "https://www.instagram.com/p/.../",
      "caption": "Leg day #gym",
      "timestamp": "2026-11-23T18:02:11+0000"
    }
  ]
}

Your own markup

getFeed() gives you the posts and settings as data, with the thumbnails, caching and plan limits:

---
import { getFeed } from "@ninetysixsoftware/social-feeds";
const feed = await getFeed("your-feed-id");
---
{feed && (
  <ul class="my-posts">
    {feed.posts.map((post) => (
      <li><a href={post.permalink}><img src={post.src} srcset={post.srcset} alt={post.alt} loading="lazy" /></a></li>
    ))}
  </ul>
)}

It returns null if the feed can't be fetched within 2 seconds. Options: limit, look, siteKey, cacheSeconds, timeoutMs and apiOrigin. Each post has id, type, permalink, caption, captionText (without hashtags), timestamp, alt, src and srcset.

To draw the standard markup yourself, outside Astro, use the same renderer:

import { getFeed, normaliseSettings, renderFeed, FEED_CSS } from "@ninetysixsoftware/social-feeds";

const feed = await getFeed("your-feed-id");
const html = feed
  ? `<style>${FEED_CSS}</style>` + renderFeed(feed, normaliseSettings(feed.settings, { layout: "grid" }))
  : "";
// In the browser, for arrows, dragging, Show more and the lightbox:
// import { enhanceAll } from "@ninetysixsoftware/social-feeds/behaviour"
// enhanceAll(document)

The site key

A site key (nsk_...) lets the Social Feeds admin page in EmDash manage the feed. Starting a trial or linking your account there saves it for you. You can also make one in your Social Feeds account and paste it into the admin page.

The component works without one, because the feed is public. Set SOCIAL_FEEDS_KEY as a secret (or SOCIAL_FEEDS_KEY_<FEED_ID> per feed, in capitals with dashes as underscores) so your site is rate limited on its own. On Cloudflare that's npx wrangler secret put SOCIAL_FEEDS_KEY. Never put a key in browser code or commit it.

Plan limits

SiteProAgency
Sites1115, then $3 a month per extra site
Feeds per site155
Posts per feed82450
UpdatesHourlyEvery 15 minutesEvery 15 minutes
ViewsNo limitNo limitNo limit
LightboxNoYesYes

Local and staging addresses don't use a site, up to 5 per account. Every plan starts with a 14-day free trial. See plan limits in the help.