Goodland Feed for developers

Everything you need to add a Goodland Feed to a site you build yourself. Your feed ID starts with f_ and is on your install page. Questions: build@goodlandweb.co.

1. The snippet (any website)

Put the element where the feed should appear and load the script once per page:

<div data-goodland-feed="f_xxx" data-limit="9"></div>
<script src="https://feed.goodlandweb.co/embed.js" async></script>
AttributeWhat it does
data-goodland-feedThe feed ID. Required.
data-limitPosts to show, 1 to 12. A post count saved on the Customize page takes priority.
data-credit="off"Hides the "Instagram feed by Goodland" link on this element. The owner can also turn it off on the Customize page.

2. React and Next.js

import { useEffect } from 'react';

export default function GoodlandFeed({ id, limit = 9 }) {
  useEffect(() => {
    const s = document.createElement('script');
    s.src = 'https://feed.goodlandweb.co/embed.js';
    s.async = true;
    document.body.appendChild(s);
    return () => s.remove();
  }, []);
  return <div data-goodland-feed={id} data-limit={limit} />;
}

In the Next.js App Router, add 'use client'; as the first line. The script draws the feeds that are on the page when it runs, so render the element before (or with) the component that loads it.

3. WordPress

Use the Goodlandweb Social Feed plugin: paste the feed ID in Settings → Goodlandweb Social Feed, then add the Goodlandweb Social Feed block or the [goodland_feed] shortcode ([goodland_feed id="f_xxx" limit="6"] for a second feed). Until the plugin is listed on WordPress.org, the snippet above in a Custom HTML block works the same.

4. Styling from your own CSS

The feed is plain HTML in your page (no iframe) and, by default, inherits your font and text color. These variables are the intended hooks, and they beat anything set on the Customize page:

[data-goodland-feed] {
  --gl-feed-cols: 4;       /* columns (default 3) */
  --gl-feed-gap: 8px;      /* space between posts (default 4px) */
  --gl-feed-radius: 0;     /* corner rounding (default 4px) */
  --gl-feed-tile: #eee;    /* placeholder behind loading images */
}

Markup to target: ul.gl-feed > li.gl-feed__item.gl-feed__item--{image|video|carousel_album} > a > img, plus .gl-feed__credit. Built-in rules are two classes deep (for example .gl-feed .gl-feed__item img) so themes don't reach in by accident; match that depth to override one. The Customize page also has a custom CSS box that ships with the feed.

5. JSON API

Read-only, no key, CORS open. Use it to build your own layout.

GET https://feed.goodlandweb.co/v1/feeds/f_xxx?limit=9
{
  "profile": { "username": "yourhandle", "picture": "https://…", "followers": 1240, "posts": 87 },
  "posts": [
    { "id": "1803…", "type": "IMAGE", "image": "https://…cdninstagram.com/…jpg",
      "caption": "…", "permalink": "https://www.instagram.com/p/…/", "timestamp": "2026-10-20T15:00:08+0000" }
  ],
  "cachedAt": "2026-10-25T18:00:00.000Z"
}
GET https://feed.goodlandweb.co/v1/feeds/f_xxx/settings

The owner's saved Customize settings, or {"settings": null} if they never saved any.

6. Content-Security-Policy

If your site sends a CSP header, allow:

script-src  https://feed.goodlandweb.co
connect-src https://feed.goodlandweb.co
img-src     https://*.cdninstagram.com https://*.fbcdn.net
style-src   'unsafe-inline' https://fonts.googleapis.com
font-src    https://fonts.gstatic.com

The feed adds its styles in a <style> tag. The two Google entries are only needed if the owner picks a Google font.

Goodland Feed is $5.99 a month, every layout included. Terms · Privacy