Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk4 min

How to Inspect Social Preview Metadata in Page Source

Learn how to inspect Open Graph and Twitter Card metadata, distinguish source from the rendered DOM, and diagnose a wrong or stale social preview.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To find the tags that may control a shared link’s title, description, and image, open the exact page’s HTML source and inspect its <head>. Search for og:, then check the Open Graph properties and any relevant Twitter Card tags. If the tags are absent from source, inspect the rendered DOM; JavaScript may add them after the initial HTML loads.

Inspect the HTML source for Open Graph tags

  1. Open the exact URL you plan to share, rather than the site’s homepage.
  2. Open View Source. Common shortcuts are Ctrl+U on Windows or Linux and Cmd+Option+U on macOS, though browser menus and shortcuts can vary.
  3. Find the document’s <head> and search for og:. Open Graph metadata is represented by <meta> elements in the head.
  4. Read each tag’s property and content values. For example, <meta property="og:title" content="Example title"> sets a candidate title value.

The Open Graph Protocol identifies four required properties for every page:

As an Amazon Associate I earn from qualifying purchases.

  • og:title: the page title.
  • og:type: the kind of object represented.
  • og:image: the image URL.
  • og:url: the canonical URL for the object.

The protocol also lists og:description as optional and generally recommended. Check og:site_name when the site name matters to the card.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check image details and Twitter Card metadata

Open Graph image fields

Inspect the value of og:image and confirm that it points to the intended image. If provided, related properties can describe the image’s width, height, MIME type, HTTPS alternative, and alternative text. The protocol says an image should have og:image:alt. Also check that the image URL is reachable by the service that will fetch the preview; a tag can be present while its image is inaccessible.

A 1200×630 image is sometimes recommended by checker guidance, but that is not a universal Open Graph requirement. Follow the target platform’s current image guidance when choosing dimensions.

Twitter Card fields

Search separately for tags such as twitter:card. Open Graph and Twitter Card fields can appear together, but do not assume every network reads the same fields or applies the same fallback rules. A tag inspection confirms what the page declares; it does not guarantee that every platform will display identical content.

Rank #2

When source and the visible page disagree

View Source shows the HTML delivered initially. It is not the same as the browser’s rendered DOM: a site may add or change metadata with JavaScript after loading. If the tags you expect are missing from source, open the browser’s developer tools, select the Elements or Inspector panel, and inspect the rendered document’s <head>. Compare the resulting values with the original source.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If the rendered DOM contains the correct tags but a share still shows old or different information, test the URL with the relevant platform’s own inspection tool. For LinkedIn, the Post Inspector is documented as a refresh option; refresh behavior and caching are platform-specific. A preview tool is useful for checking what a particular platform fetches and renders, but it is not a substitute for verifying the page markup.

Choose the inspection method that matches the problem

Method Best for Limitation
View Source Checking metadata delivered in the initial HTML. Does not show metadata inserted later by JavaScript.
Rendered DOM in developer tools Finding tags added or changed after the page loads. Shows the browser’s DOM; a social platform may fetch or render the page differently.
Platform inspection or preview tool Checking a platform’s interpretation or refreshing a stale preview. Platform behavior and cache controls differ.
Pasted HTML in a checker Inspecting markup when an automated URL fetch is blocked or unavailable. Cannot independently establish what the live URL serves or how a platform renders it.

Troubleshoot a wrong social card

  • Tags are missing in View Source: check the rendered DOM to see whether the site injects them with JavaScript. If neither contains the intended tags, update the page’s head output.
  • The title or description is wrong: compare the exact page’s og:title and og:description content values with the text you expect to share.
  • The image is wrong or absent: verify og:image points to the intended asset, inspect any structured image properties, and make sure the audience-facing service can fetch the image URL.
  • Markup looks correct but the preview is old: use the relevant platform’s inspection or refresh tool where available. Cached previews and refresh behavior are platform-specific.
  • A checker cannot fetch the page: use View Source or the rendered DOM in your browser, or inspect pasted HTML if the checker supports it. A failed checker fetch does not by itself prove the page lacks metadata.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

ScreenshotNeo can capture a page with one GET request; it returns a screenshot or PDF, not a metadata report, so use it when you also need a visual record of the page. Cookie banners are accepted and removed before capture, along with known newsletter popups and chat widgets. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and the response identifies the page verdict and billing status. Its MCP server lets AI agents take screenshots. The free plan includes 1,000 shots a month with no card; paid plans start at $5 for 3,000. See the ScreenshotNeo API documentation for request options.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

ScreenshotNeo is a screenshot API and MCP server for developers. See ScreenshotNeo or sign up for 1,000 free screenshots a month with no card.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.