Documentation

Quick Start

Add this meta tag to your website's <head> section:

<meta property="og:image" content="https://api.myog.social/og?url={yourURL}" />

Replace {yourURL} with your actual page URL. The OG image will be automatically generated when social platforms fetch your page.

How It Works

  1. Register your domain in the dashboard
  2. Add the meta tag to your pages
  3. When someone shares your link, we generate an OG image
  4. The image is cached for 7 days by default

API Endpoint

Endpoint:GET https://api.myog.social/og

Parameter: url - The full URL of your page

Get Started

4aeca9d9a80cdf9b0f823df7b1f738a979bdaebc