What are Open Graph tags?
When you paste a link into a chat and a card appears with a picture and title, Open Graph tags made it. Four tags and one good image cover nearly every case.

Key takeaways
- Open Graph tags are meta tags (og:title, og:description, og:image, og:url) that shape link preview cards.
- Use a 1200 x 630 image with the key message in the center, and an absolute https URL.
- Preview bots usually do not run JavaScript, so the tags must be in the page's initial HTML.
Open Graph tags are a set of meta tags, introduced by Facebook and now read by most messaging and social apps, that tell those apps which title, description and image to show when someone shares a link to your page. Without them, the app guesses, and the guess is often a cropped logo, a cookie banner sentence or no preview at all.
Think of a postcard. The address side is the link; the picture side is what makes someone turn it over. Open Graph tags choose the picture side for every place your link lands: group chats, social feeds, team chat tools, forum posts.
The tags to set
- `og:title`: the card headline. Shorter than you think; long titles get cut in narrow chat bubbles. Aim for under about 60 characters.
- `og:description`: one or two lines under the title. Many apps show only the first line or so.
- `og:image`: the full https address of the preview picture. This is the part people actually notice.
- `og:url`: the canonical address of the page (what a canonical URL is), so shares from different addresses count as one.
- `og:type`: usually `website`, or `article` for blog posts.
- `twitter:card` set to `summary_large_image`: asks X (and some other apps that read the same tags) for the big image layout. Without it you may get a small square thumbnail.
Each tag is a line in the head, such as `<meta property="og:image" content="https://myapp.com/og/home.png">`. Note that Open Graph uses `property`, not `name`.
Getting the image right
- Size: 1200 x 630 pixels (about 1.91:1) is the widely used size. Keep the file reasonably small, a few hundred KB, so previews load.
- Safe zone: some apps crop to a square or a narrower rectangle. Keep the product name and main visual in the middle.
- Few words, big type: the card is often shown at thumbnail size on a phone. Five words read; twenty do not.
- One image per important page: a recipe page sharing the home page image wastes the best chance to show the recipe.
Open Graph on a Startbase site
Startbase sites are React single-page apps, and link-preview bots generally do not execute JavaScript, so tags added only by client code will not be seen. The title and description you enter in the publish dialog are written into the published page as `og:title` and `og:description` as well as the page title and meta description (SEO and GEO docs). The docs also recommend a unique `og:image` at 1200 x 630 and a `twitter:card` for every important page, which you can ask the agent to add. The agent can generate the image itself too.
Add Open Graph and Twitter card tags so links to the site make a good preview: og:title, og:description, og:url, og:type and twitter:card set to summary_large_image. Generate a 1200 x 630 share image in the site's colors with the app name and a five-word tagline centered, save it in the public folder and reference it with an absolute https URL. Make sure the tags are in the initial HTML, not added by JavaScript.
Testing, and why old previews stick
Apps cache previews, sometimes for days, so fixing the tags does not instantly fix a link already shared. Use the platforms' own tools, such as Facebook's Sharing Debugger and LinkedIn's Post Inspector, to preview the card and ask them to fetch it again. A quick trick for a fresh test in chat apps is adding a harmless query parameter (`?v=2`) to the link.
Open Graph tags are one family of the head tags covered in what meta tags are. A good card helps most on launch day, so set it before you post (launching on Product Hunt).
Frequently asked questions
Do Open Graph tags help SEO?
Not directly; search engines rank pages on other signals. They make shared links more clickable, which brings visits and sometimes links back.
Why does my link show no image even though I set og:image?
Common causes: a relative image path instead of a full https URL, an image that is too large or blocked, tags added by JavaScript, or a cached old preview.

