Open Graph Tags: Not sebuah peringkat Factor, masih sebuah SEO Deliverable
What Open Graph tags adalah, why mereka're not sebuah Google peringkat factor, what Google actually melakukan dengan og:judul/og:image/og:site_name, documented per-platform og:image sizing, per-platform fallback dan caching perilaku, dan cara force sebuah re-scrape.
Bahasa
Open Graph (OG) tags adalah <meta> elements di Anda head, dari Open Graph protocol (ogp.me, dibangun oleh Facebook), itu describe Anda halaman sebagai sebuah shareable object. four diperlukan properties adalah og:judul, og:jenis, og:image, og:url; tambahkan og:deskripsi, og:site_name, og:locale, dan og:image:alt. mereka main job adalah tautan preview card people see when Anda URL adalah shared pada Facebook, LinkedIn, Slack, Discord, WhatsApp, dan iMessage — so mereka're sebuah CTR lever, not sebuah peringkat factor. tetapi Google melakukan read them: og:judul adalah listed among sources ini dapat gunakan untuk SERP judul tautan (ditambahkan Aug 2024), og:image adalah one documented input untuk Google's automated image-thumbnail selection untuk Search dan menemukan, dan og:site_name adalah sebuah lower-priority input untuk situs name ditampilkan di hasil — none dari ini adalah sebuah guarantee Anda nilai gets digunakan sebagai-adalah. Practical spine: og:image perlu sebuah absolute URL dan sebuah documented alt deskripsi; setiap platform publishes -nya own size guidance (LinkedIn: 1200×627 min, 1,91:1; Google menemukan: setidaknya 1200px wide, 16:9) alih-alih one universal figure, though 1200×630 (1,91:1) adalah panjang-standing cross-platform convention; missing tags cause sebuah uncontrolled (not blank) preview; setiap platform caches scrape, so editing tags doesn't fix sudah-shared tautan — force sebuah re-scrape dengan Facebook Sharing Debugger atau LinkedIn Post Inspector. sebagian besar social crawler don't run JavaScript, so tags harus menjadi di server-rendered HTML.
Evidence for this claim The Open Graph protocol defines og:title, og:type, og:image, and og:url as basic metadata for representing a page as a graph object. Scope: Open Graph protocol vocabulary; platform rendering can vary. Confidence: high · Verified: Open Graph protocol Evidence for this claim Meta's sharing crawler uses server-rendered Open Graph metadata and provides Sharing Debugger tools to inspect and refresh scraped information. Scope: Meta/Facebook sharing behavior, distinct from search ranking. Confidence: high · Verified: Meta for Developers: Webmasters sharing guideTL;DR — Open Graph (OG) tags adalah little bits dari HTML di head dari Anda halaman itu decide how Anda tautan looks when someone shares ini — judul, blurb, dan image di itu preview card Anda see pada Facebook, LinkedIn, Slack, Discord, WhatsApp, atau di sebuah iMessage. mereka don’t help Anda peringkat di Google. tetapi jika Anda skip them, platforms guess — dan guess adalah biasanya worse daripada what Anda’d memiliki chosen.
What Open Graph tags adalah
When Anda paste sebuah tautan ke sebuah chat app atau sebuah social post dan ini turns ke sebuah neat
little card — sebuah headline, sebuah pendek deskripsi, dan sebuah big image — itu card adalah dibangun
dari Open Graph tags. mereka’re <meta> tags itu live di Anda halaman’s <head>,
where pengunjung tidak pernah see them tetapi apps itu bangun preview melakukan.
sistem comes dari Open Graph protocol, sebuah spec Facebook dibuat (Anda dapat read ini di ogp.me). idea adalah untuk let apa pun halaman web act like sebuah rich “object” (terjemahan) “object” itu social platforms dapat display consistently.
Here adalah ones Anda actually set:
<meta property="og:title" content="Your headline for the share card" />
<meta property="og:description" content="A short blurb, a sentence or two." />
<meta property="og:image" content="https://example.com/share-image.jpg" />
<meta property="og:url" content="https://example.com/your-page/" />
<meta property="og:type" content="website" />- og:judul — headline pada card.
- og:deskripsi — blurb di bawah ini.
- og:image — big thumbnail (ini adalah one itu membuat card eye-catching).
- og:url — canonical tautan untuk halaman.
- og:jenis — what jenis dari thing halaman adalah (
websiteuntuk sebagian besar halaman,articleuntuk sebuah blog post).
melakukan mereka help Anda peringkat?
No. Open Graph tags adalah not sebuah Google peringkat factor — menambahkan them won’t move Anda up di hasil pencarian. What mereka melakukan adalah affect how banyak people click Anda tautan when ini adalah shared, which adalah sebuah berbeda (dan masih valuable) thing. Think dari them cara Anda’d think dari sebuah baik deskripsi meta: ini adalah not peringkat, ini adalah pitch itu earns click.
image size untuk remember
There’s no single official size setiap platform publishes — setiap one documents -nya
own angka (LinkedIn’s own help halaman says 1200 × 627px minimum, 1,91:1 ratio;
Google’s own menemukan guidance says setidaknya 1200px wide, 16:9). dalam praktik,
1200 × 630 pixels (tentang sebuah 1,91:1 ratio) adalah panjang-standing convention itu
renders cleanly, uncropped, pada Facebook, LinkedIn, Slack, Discord, WhatsApp, dan
iMessage — gunakan ini sebagai Anda safe default alih-alih sebuah aturan stamped anywhere official.
dan gunakan full URL starting dengan https:// — sebuah relative path like /image.jpg
gets silently ignored.
one thing everyone trips pada
Anda perubahan Anda og:image, re-share tautan… dan old image masih menampilkan up.
itu’s caching — Facebook, LinkedIn, dan Slack semua remember (cache) what mereka
scraped pertama time, dan editing Anda tags doesn’t retroactively update tautan
itu adalah sudah shared. untuk fix ini Anda memiliki untuk membuat platform look again: paste
Anda URL ke Facebook Sharing Debugger dan click “Scrape Again,” (terjemahan) “Scrape Again,” atau gunakan
LinkedIn Post Inspector.
ingin full picture — setiap tag, what Google actually melakukan dengan them di 2026, per-platform fallback dan caching quirks, dan JavaScript gotcha itu hides Anda tags dari crawler? Switch untuk Advanced tab.
Evidence for this claim The Open Graph protocol defines og:title, og:type, og:image, and og:url as basic metadata for representing a page as a graph object. Scope: Open Graph protocol vocabulary; platform rendering can vary. Confidence: high · Verified: Open Graph protocol Evidence for this claim Meta's sharing crawler uses server-rendered Open Graph metadata and provides Sharing Debugger tools to inspect and refresh scraped information. Scope: Meta/Facebook sharing behavior, distinct from search ranking. Confidence: high · Verified: Meta for Developers: Webmasters sharing guideTL;DR — Open Graph tags adalah
<head><meta>elements dari Open Graph protocol (ogp.me, dibangun oleh Facebook) itu describe Anda halaman sebagai sebuah shareable object. diperlukan:og:title,og:type,og:image,og:url; umum optional:og:description,og:site_name,og:locale, danog:image:alt. Repeated properties form arrays, dengan pertama tag preferred pada conflicts. mereka adalah not sebuah peringkat factor — mereka’re appearance layer untuk social/chat-app tautan previews (Facebook, LinkedIn, Slack, Discord, WhatsApp, iMessage). Search-mesin handling adalah separate dan seharusnya not menjadi inferred dari Open Graph validity. protocol itself sets no pixel dimensions untukog:image— setiap consumer publishes -nya own sizing (LinkedIn, Google menemukan) — so ship sebuah absolute-URLog:imagesized untuk platforms Anda mendukung; know itu missing tags produce sebuah uncontrolled, not blank, preview; dan remember setiap platform caches scrape — editing tags doesn’t fix sudah-shared tautan, so force sebuah re-scrape. sebagian besar social crawler don’t run JavaScript, so tags harus menjadi di server-rendered HTML.
What Open Graph tags actually adalah
Open Graph tags adalah <meta> elements di Anda halaman’s <head>, defined oleh
Open Graph protocol — sebuah spec Facebook dibuat dan published di
ogp.me. protocol’s premise adalah itu sebuah halaman web dapat menjadi turned
ke sebuah rich “object” (terjemahan) “object” dengan sebuah kecil, consistent vocabulary dari properties, so apa pun
platform dapat bangun yang sama preview dari yang sama tags. Google’s own developer
explainer puts origin plainly: Open Graph protocol “provides Facebook with
the metadata necessary to allow web pages to have the same functionality as other
Facebook objects,” (terjemahan) “menyediakan Facebook dengan
metadata necessary untuk allow halaman web untuk memiliki yang sama functionality sebagai lainnya
Facebook objects,” per web.dev’s Social penemuan artikel.
spec marks four properties sebagai diperlukan — og:title, og:type, og:image,
dan og:url — dan ones Anda’ll almost selalu tambahkan pada top adalah og:description,
og:site_name, dan og:locale, plus structured sub-properties like
og:image:width, og:image:height, dan og:image:alt ( spec’s own guidance:
sebuah halaman itu specifies og:image seharusnya specify og:image:alt too).
Repeated tags dan structured properties ikuti spesifik aturan. protocol
lets Anda repeat sebuah root property untuk describe multiple objects (say, several
candidate images) — when consumers see conflicting nilai untuk yang sama property,
pertama tag di document order wins. sebuah structured sub-property like
og:image:width applies untuk og:image tag immediately sebelum ini, not untuk setiap
image pada halaman, so pertahankan setiap image’s og:image dan -nya structured
sub-properties grouped together di source order. ini adalah protocol-tingkat perilaku
dari ogp.me itself, not sebuah per-platform quirk.
framing I ingin Anda untuk pertahankan: ini adalah social/chat appearance layer, sibling dari SERP appearance layer Anda sudah manage dengan tag judul dan deskripsi meta. sama idea — control how Anda halaman presents itself — hanya pada sebuah berbeda surface.
core Open Graph tags, one oleh one
Google’s web.dev explainer gives per-tag purpose di one line setiap: og:title adalah
“the title of the web page,” (terjemahan) “ judul dari halaman web,” og:description adalah “the description of the web
page,” (terjemahan) “ deskripsi dari web
halaman,” og:image adalah “URL to an image attached to the shared post,” (terjemahan) “URL untuk sebuah image attached untuk shared post,” og:url
adalah “the canonical url of the web page,” (terjemahan) “ canonical url dari halaman web,” dan og:type adalah “a string that indicates
the type of the web page” (terjemahan) “sebuah string itu indicates
jenis dari halaman web” (web.dev).
Practically:
- og:judul — card headline. pertahankan ini untuk roughly what menampilkan pada mobile/desktop
cards; gunakan raw judul without situs-name branding tacked pada. ini adalah separate
dari Anda HTML
<title>element, though Google dapat draw pada either untuk judul tautan (see below). - og:deskripsi — card blurb. sebuah kalimat atau two; longer text truncates pada sebagian besar platforms.
- og:image — thumbnail, dan property itu membuat atau breaks card. ini
harus menjadi sebuah absolute URL (
https://…) — sebuah relative path adalah silently ignored oleh crawler. tambahkanog:image:width/og:image:heightso platforms dapat lay out card sebelum image finishes memuat, danog:image:altdengan sebuah nyata deskripsi — protocol itself recommends ini whenever Anda specifyog:image. - og:url — canonical URL untuk halaman (align ini dengan Anda rel=canonical so shares consolidate pada one address).
- og:jenis — declares object jenis.
websiteadalah default (dan what apa pun unmarked halaman adalah treated sebagai);articleunlocks extra properties likearticle:author,article:published_time, danarticle:section; ada jugaprofile,book,video.*, danmusic.*jenis. ini penting untuk platform fitur, not untuk SEO directly. - og:site_name dan og:locale — optional-tetapi-berguna pair.
og:site_namenames brand behind halaman;og:locale(defaulten_US) adalah hanya needed when konten isn’t di American English.
adalah Open Graph tags sebuah peringkat factor? No — tetapi here’s what Google melakukan dengan them
tidak ada official Google source stating itu OG tags influence peringkat. mereka control appearance, not position — exact sama bucket John Mueller put meta deskripsi di: ini adalah “primarily used as a snippet in the search results page. And that’s not something that we would use for ranking” (terjemahan) “primarily digunakan sebagai sebuah snippet di hasil pencarian halaman. dan itu’s not something itu kami akan gunakan untuk peringkat” (via mesin pencari Journal’s write-up). No named Google rep memiliki given sebuah equivalent pada—record quote specifically tentang Open Graph dan peringkat, so I won’t invent one — evidence adalah documented mechanism, dan mechanism adalah semua appearance. ada three confirmed places Google’s own documentation says ini reads Anda OG tags — dan di setiap case, valid markup adalah one input Google dapat draw pada, not sebuah guarantee dari sebuah particular display, sebuah particular crop, atau apa pun peringkat atau traffic outcome. Absence dari one dari ini docs isn’t proof Google ignores tag elsewhere, either — treat ini sebagai “what’s documented,” (terjemahan) “what’s documented,” not sebuah exhaustive list dari everything Google’s sistem mungkin touch.
og:judul sebagai sebuah judul-tautan source
Since August 26, 2024, Google’s documentation lists “Content in og:title
meta tags” (terjemahan) “konten di undefined
undefined tags” among sources ini dapat gunakan untuk automatically generate
judul tautan — clickable headline
di hasil. changelog line adalah direct: “Google Search can use content within
og:title meta tags to automatically generate title links” (terjemahan) “Google Search dapat gunakan konten di dalam
undefined undefined tags untuk automatically generate judul tautan”
(Search Central changelog).
ini adalah one dari roughly nine sources Google blends dari
(judul-tautan docs) —
not sebuah guarantee Anda og:title gets digunakan verbatim.
og:image sebagai sebuah image-thumbnail source
Google’s Image SEO best practices
memiliki sebuah “Specify a preferred image with metadata” (terjemahan) “Specify sebuah preferred image dengan metadata” bagian itu names two metadata
sources Anda dapat gunakan untuk influence which image gets picked untuk Search: schema.org’s
primaryImageOfPage (atau sebuah image pada main entity), atau “the og:image
meta tag.” (terjemahan) “ undefined
undefined tag.” Google adalah explicit itu “Google’s selection of an image preview is
completely automated” (terjemahan) “Google’s selection dari sebuah image preview adalah
completely automated” dan warns Anda untuk “avoid using a generic image (for example,
your site logo) or an image with text in the schema.org markup or og:image meta
tag.” (terjemahan) “hindari menggunakan sebuah generic image (misalnya,
Anda situs logo) atau sebuah image dengan text di schema.org markup atau undefined undefined
tag.” -nya menemukan doc
gives yang sama two options untuk menemukan images dan menambahkan concrete guidance: di
least 1200px wide, more daripada 300 000 total pixels, dan sebuah 16:9 aspect ratio (-nya own
contoh adalah 1280×720) — note itu’s sebuah berbeda ratio daripada 1,91:1 convention
digunakan untuk social-card images below, so sebuah single image sized untuk social sharing
won’t automatically menjadi menemukan’s preferred crop.
Trade press (mesin pencari Land, mesin pencari Journal, mesin pencari Roundtable) covered ini Images/menemukan documentation sebagai baru sekitar early March 2026 dan reported itu og:image’s role now extends untuk AI Overviews sebagai well. I dapat not confirm sebuah AI Overviews mention pada Google’s own Images atau menemukan halaman directly — neither halaman currently names AI Overviews atau “AI surfaces” (terjemahan) “AI surfaces” — so treat Search/menemukan role sebagai documented fact dan AI Overviews extension sebagai ketiga-party-reported, not something Google’s own docs state outright. Either cara, ini adalah selection, not peringkat: og:image adalah one input among several, dengan no guarantee dari exact display.
og:site_name sebagai sebuah situs-name source
untuk situs name ditampilkan next untuk Anda hasil, Google says -nya sistem “will also
consider content in og:site_name, <title>, heading elements, and other text on a
home page. However, WebSite structured data is most important” (terjemahan) “akan juga
pertimbangkan konten di undefined, undefined, heading elements, dan lainnya text pada sebuah
home halaman. However, undefined data terstruktur adalah sebagian besar penting”
(situs Names doc).
So og:site_name adalah one lever, below WebSite
schema markup di priority. (untuk video halaman there’s
sebuah fourth touchpoint: Google mendukung OGP dan reads og:video:image untuk video
thumbnails, per Video SEO docs.)
Tie them together dan honest headline adalah: Google reads Anda OG tags, tetapi hanya untuk help decide how Anda hasil looks — tidak pernah where ini peringkat.
How social platforms dan chat apps gunakan OG tags
primary, everyday job dari OG tags adalah tautan preview card. Facebook, LinkedIn, Slack, Discord, WhatsApp, iMessage, dan Telegram semua read them untuk bangun card ditampilkan sebelum sebuah click.
X/Twitter adalah special case. Twitter Cards adalah, di Google’s kata, “an
extension to the Open Graph Protocol applicable for Twitter” (terjemahan) “sebuah
extension untuk Open Graph Protocol applicable untuk Twitter”
(web.dev). X memeriksa twitter:card /
twitter:* tags pertama dan falls back untuk OG tags per-property; jika twitter:card adalah
absent entirely, X masih dapat bangun card dari OG data tetapi defaults untuk plain
summary card jenis. Worth knowing: ** old Twitter Card Validator alat adalah
deprecated sekitar 2022** when platform rebranded — several competitor guides
masih reference ini sebagai jika ini adalah live. There’s no official X-spesifik validator
anymore; ketiga-party OG debuggers fill gap.
Recommended og:image size dan format
Open Graph protocol itself sets no pixel dimensions atau aspect ratio untuk
og:image — ogp.me hanya defines structured properties (og:image:width,
og:image:height, og:image:type, og:image:alt), not sebuah diperlukan size. Sizing adalah
sebuah per-consumer decision, dan consumers don’t semua agree:
- LinkedIn documents -nya own minimum directly: 1200 × 627px, 1,91:1 ratio; images narrower daripada ~401px render sebagai sebuah kecil thumbnail hanya.
- Google menemukan documents setidaknya 1200px wide, more daripada 300 000 total pixels, 16:9 aspect ratio (contoh given: 1280×720) untuk -nya preferred-image metadata — sebuah noticeably berbeda ratio daripada social-card convention below.
- Facebook’s saat ini sharing documentation menanyakan untuk images “at least 1080 pixels in width” (terjemahan) “setidaknya 1080 pixels di width” without pinning sebuah universal ratio; ini poin Anda untuk sebuah separate best-practices guide untuk specifics.
Given itu spread, 1200 × 630px (tentang 1,91:1) remains practical cross-platform default sebagian besar implementers gunakan — ini adalah close untuk LinkedIn’s own minimum dan renders acceptably (jika not selalu pixel-perfect) pada Facebook, Slack, Discord, WhatsApp, dan iMessage, dan X displays ini sebagai sebuah besar-image card. Treat ini sebagai sebuah sensible convention, not sebuah aturan apa pun single spec mandates — jika sebuah spesifik platform penting sebuah lot untuk Anda, periksa bahwa platform’s saat ini documentation rather daripada assuming ini figure adalah guaranteed correct there.
Two things itu adalah hard aturan, not conventions:
- Absolute URL diperlukan.
og:imageharus poin untuk sebuah fullhttps://…URL; sebuah relative path adalah ignored oleh crawler. - No generic logos atau text-heavy images jika Anda juga ingin image eligible untuk
Google’s thumbnail selection — Google explicitly warns terhadap both, dan terhadap
extreme aspect ratios. Set
og:image:altdengan sebuah nyata deskripsi, too.
What happens when Open Graph tags adalah missing
sebuah umum myth adalah itu “no OG tags” (terjemahan) “no OG tags” berarti “plain text link, no image.” (terjemahan) “plain text tautan, no image.” ini doesn’t —
platforms fall back, mereka don’t blank out. Facebook fills gaps dari
halaman’s <title>, deskripsi meta, dan pertama usable konten image; LinkedIn behaves
similarly dan treats images narrower daripada ~401px sebagai thumbnail-hanya. So nyata risk
dari omitting OG tags adalah sebuah uncontrolled, worse preview — sebuah random di-body image,
sebuah truncated <title> — not sebuah missing one. jika Anda care how sebuah halaman looks when shared
(dan untuk anything Anda’d promote, Anda harus), atur tags alih-alih letting setiap
platform guess.
Why Anda updated OG tags aren’t showing up — caching dan re-scraping
ini adalah angka-one practical pain poin. Facebook, LinkedIn, dan Slack semua
cache scraped OG data, so editing Anda tags doesn’t retroactively update
tautan itu adalah sudah shared. Facebook’s own webmaster docs confirm one spesifik
mechanism worth knowing: “images are cached based on the URL and won’t be updated
unless the URL changes” (terjemahan) “images adalah cached berdasarkan URL dan won’t menjadi updated
unless URL perubahan” — so jika Anda’re troubleshooting sebuah stuck image, changing
og:image filename (not hanya -nya contents) dapat force sebuah fresh fetch. I don’t memiliki sebuah
pertama-party source untuk exactly how panjang setiap platform’s cache lives sebelum ini
expires pada -nya own, so don’t treat apa pun spesifik duration Anda see quoted elsewhere
sebagai sebuah documented guarantee — force sebuah re-scrape per platform alih-alih waiting ini
out:
- Facebook Sharing Debugger (developers.facebook.com/alat/debug) — paste URL dan gunakan “Scrape Again” (terjemahan) “Scrape Again” untuk trigger sebuah fresh fetch.
- LinkedIn Post Inspector — re-fetches dan previews card; jika image masih won’t pull, periksa ini isn’t blocked atau behind auth.
- X/Twitter — no official validator since ~2022. Since X falls back untuk OG tags, sebuah generic OG debugger plus sebuah fresh share adalah practical route.
Because crawler cache dan konten perubahan, OG tags aren’t truly set-dan-forget: setelah sebuah significant konten atau image update pada sebuah tinggi-nilai halaman, re-scrape ini.
Implementation gotchas: JavaScript, byte limits, absolute URLs
biggest one ties straight back untuk
rendering: sebagian besar social-platform
crawler melakukan not execute JavaScript. OG tags injected client-side — say, oleh React
setelah hydration — adalah invisible untuk them; crawler sees sebuah empty <head>.
tags harus menjadi present di raw, server-rendered HTML. ini adalah yang sama
crawl-vs-render distinction itu bites JavaScript-heavy situs elsewhere (see
JavaScript SEO). Slack memiliki telah reported (not
documented di sebuah official spec) untuk fetch hanya sebuah limited angka dari bytes dari
start dari sebuah halaman, so sebagai sebuah safety margin put Anda OG tags early di <head> rather
daripada setelah sebuah besar inline script atau style block. dan, once more because ini adalah
quiet killer: og:image harus menjadi sebuah absolute URL.
Bing, Microsoft, dan Open Graph
Bing adalah far less documented here daripada Google. Bing’s Markup Validator (di Bing
Webmaster alat) lists Open Graph among structured-markup formats ini recognizes,
alongside schema.org, Microdata, Microformats, dan RDFa, dan Bing’s migration
guidance flags OG metadata sebagai something untuk pertahankan saat ini selama sebuah move — tetapi Bing
hasn’t published Google-style specifics pada whether atau how OG data feeds -nya snippets
atau thumbnails. dalam praktik stronger Microsoft-ecosystem consumer dari OG tags adalah
LinkedIn (Microsoft-owned), which reads og:title, og:description,
og:image, dan og:url untuk bangun -nya share cards. Don’t overclaim sebuah Bing mechanism
itu isn’t documented.
umum Open Graph myths, debunked
- “OG tags are a Google ranking factor.” (terjemahan) “OG tags adalah sebuah Google peringkat factor.” No — no official source says so. mereka affect appearance (judul-tautan, image-thumbnail, situs-name sources), not position.
- “OG is only for Facebook, irrelevant to real SEO.” (terjemahan) “OG adalah hanya untuk Facebook, irrelevant untuk nyata SEO.” Out dari date. Google’s own
docs list
og:title(judul tautan, ditambahkan Aug 2024),og:image(sebuah Search/menemukan image-selection input), danog:site_name(sebuah lower-priority situs-name input) sebagai three separate appearance fitur ini reads OG tags untuk — though “AI Overviews” (terjemahan) “AI Overviews” specifically adalah trade-press reporting, not sebuah claim pada Google’s own Images/menemukan halaman sebagai dari ini periksa. - “No OG tags means a plain, image-less link.” (terjemahan) “No OG tags berarti sebuah plain, image-less tautan.” No — platforms fall back untuk
<title>/deskripsi meta/pertama image, giving sebuah uncontrolled preview, not sebuah blank one. - “Updating og:image instantly fixes every already-shared link.” (terjemahan) “Updating og:image instantly fixes setiap sudah-shared tautan.” No — Facebook/LinkedIn/Slack cache scrape; Anda harus force sebuah re-scrape, dan CDN caching dapat delay ini further.
- “Use the Twitter Card Validator to fix X previews.” (terjemahan) “gunakan Twitter Card Validator untuk fix X previews.” itu alat adalah deprecated ~2022; there’s no official X validator now.
- “Any image size/URL works for og:image.” (terjemahan) “apa pun image size/URL berfungsi untuk og:image.” No — ini harus menjadi sebuah absolute URL, dan Google warns terhadap generic logos, text-di-image, dan extreme aspect ratios untuk -nya own thumbnail selection.
Where untuk go next
ini halaman adalah sebuah deep dive di bawah
Meta Tags untuk SEO hub, pada-halaman cluster’s map
dari which head elements actually penting. Open Graph adalah social/chat appearance
layer — -nya siblings pada SERP appearance side adalah
tag judul (which Google dapat draw dari
Anda og:title) dan deskripsi meta
( closest analogue: not sebuah peringkat factor, semua tentang click). untuk image dan
situs-name side, OG overlaps dengan schema markup —
Google treats og:image dan schema’s primaryImageOfPage sebagai alternative thumbnail
sources. dan because sebagian besar social crawler don’t run JavaScript, whole topic sits
downstream dari rendering dan
JavaScript SEO.
AI summary
sebuah condensed take pada Advanced versi:
- Open Graph tags = social/chat appearance layer.
<head><meta>elements dari Open Graph protocol (ogp.me, dibangun oleh Facebook) itu describe Anda halaman sebagai sebuah shareable object. - diperlukan:
og:title,og:type,og:image,og:url. umum optional:og:description,og:site_name,og:locale,og:image:alt. Repeated tags form arrays; pertama tag wins pada conflicts. - Not sebuah peringkat factor — sama appearance bucket sebagai deskripsi meta. No official Google source ties OG tags untuk peringkat.
- Google reads them untuk appearance (three documented mechanisms, none sebuah
guarantee):
og:title→ sebuah judul-tautan source (ditambahkan Aug 2024);og:image→ sebuah image-selection input untuk Search dan menemukan (menemukan’s own spec: ≥1200px wide, 16:9 — sebuah berbeda ratio daripada social-card convention);og:site_name→ sebuah lower-priority situs-name input (belowWebSiteschema). Video halaman tambahkanog:video:image. Trade press juga reports sebuah AI Overviews role untukog:image; Google’s own Images/menemukan halaman don’t name AI Overviews directly. - Main dunia nyata job: tautan preview card pada Facebook, LinkedIn, Slack,
Discord, WhatsApp, iMessage. X/Twitter Cards extend OG — X reads
twitter:*pertama, falls back untuk OG per-property, defaults untuk sebuahsummarycard jikatwitter:cardadalah absent. Twitter Card Validator adalah deprecated ~2022. - og:image: no universal spec size; LinkedIn documents 1200×627 (1,91:1),
Google menemukan documents ≥1200px/16:9; 1200×630 (1,91:1) adalah umum
cross-platform convention. Absolute URL diperlukan; hindari generic logos /
text-di-image / extreme ratios; set
og:image:alt. - Missing tags → uncontrolled, not blank preview. Platforms fall back untuk
<title>/deskripsi meta/pertama image. - Caching adalah #1 masalah. Editing tags doesn’t fix sudah-shared tautan; force sebuah re-scrape via Facebook Sharing Debugger (“Scrape Again” (terjemahan) “Scrape Again”) atau LinkedIn Post Inspector. Facebook’s own docs note images adalah cached oleh URL dan won’t update unless URL itself perubahan.
- rendering gotcha: sebagian besar social crawler don’t run JavaScript — tags harus menjadi di server-rendered HTML; Slack adalah reported (not officially documented) untuk fetch hanya sebuah limited angka dari bytes, so put head tags early sebagai sebuah safety margin.
- Bing: thin docs — -nya Markup Validator recognizes OG, tetapi no Google-style thumbnail/snippet mechanism adalah published. LinkedIn adalah practical Microsoft consumer.
Official documentation
Primary-source documentation dari protocol dan mesin pencari.
** protocol**
- Open Graph protocol (ogp.me) — spec itself: diperlukan properties (
og:title,og:type,og:image,og:url), optional ones, dan structured sub-properties likeog:image:width/og:image:height.
- Control Anda judul tautan di hasil pencarian — full list dari judul-tautan sources, including
og:title. - Search Central changelog: menambahkan og:judul untuk judul-tautan sources (Aug 26, 2024) — when
og:titleadalah ditambahkan. - Image SEO best practices — “Specify a preferred image with metadata” (terjemahan) “Specify sebuah preferred image dengan metadata” —
og:image(dan schema.org) sebagai thumbnail-selection sources untuk Search. - Google menemukan —
og:imageuntuk menemukan thumbnails; documents ≥1200px wide, >300 000 total pixels, 16:9 ratio. - situs Names di Google Search —
og:site_namesebagai sebuah situs-name source (belowWebSitedata terstruktur). - Video SEO best practices — OGP mendukung dan
og:video:imageuntuk video thumbnails. - web.dev — Social penemuan — Google’s foundational explainer dari OGP dan Twitter Cards, dengan per-tag purpose table.
alat
- Facebook Sharing Debugger — paste sebuah URL, see how Facebook scrapes ini, dan “Scrape Again” (terjemahan) “Scrape Again” untuk bust cache.
Quotes dari source
pada—record statements dari Google. setiap tautan adalah sebuah deep tautan itu jumps untuk quoted passage pada source halaman.
Google — og:judul sebagai sebuah judul-tautan source
- “Google Search can use content within
og:titlemetatags to automatically generate title links.” (terjemahan) “Google Search dapat gunakan konten di dalam undefined undefined tags untuk automatically generate judul tautan.” — Google Search Central changelog (Aug 26, 2024). Jump untuk quote - list dari judul-tautan sources mencakup “Content in
og:titlemetatags.” (terjemahan) “konten di undefined undefined tags.” — Google Search Central docs. Jump untuk quote
Google — og:image sebagai sebuah thumbnail-selection source
- Anda dapat influence image selection “by providing your preferred image through one of the following metadata sources” (terjemahan) “oleh providing Anda preferred image melalui one dari following metadata sources” — schema.org markup atau “the
og:imagemetatag.” (terjemahan) “ undefined undefined tag.” — Google Search Central docs. Jump untuk quote - “Avoid using a generic image (for example, your site logo) or an image with text in the schema.org markup or
og:imagemetatag.” (terjemahan) “hindari menggunakan sebuah generic image (misalnya, Anda situs logo) atau sebuah image dengan text di schema.org markup atau undefined undefined tag.” Jump untuk quote - “Use either schema.org markup or the
og:imagemetatag to specify a large image that’s relevant and representative of the web page.” (terjemahan) “gunakan either schema.org markup atau undefined undefined tag untuk specify sebuah besar image itu’s relevant dan representative dari halaman web.” — Google menemukan docs. Jump untuk quote
Google — og:site_name sebagai sebuah situs-name source
- “Our site name system will also consider content in
og:site_name,<title>, heading elements, and other text on a home page. However,WebSitestructured data is most important.” (terjemahan) “kami situs name sistem akan juga pertimbangkan konten di undefined, undefined, heading elements, dan lainnya text pada sebuah home halaman. However, undefined data terstruktur adalah sebagian besar penting.” — Google Search Central docs. Jump untuk quote
Google — OGP definition dan per-tag purpose
- Open Graph protocol “provides Facebook with the metadata necessary to allow web pages to have the same functionality as other Facebook objects.” (terjemahan) “menyediakan Facebook dengan metadata necessary untuk allow halaman web untuk memiliki yang sama functionality sebagai lainnya Facebook objects.” — web.dev (Google). Jump untuk quote
- Twitter Cards adalah “an extension to the Open Graph Protocol applicable for Twitter.” (terjemahan) “sebuah extension untuk Open Graph Protocol applicable untuk Twitter.” — web.dev (Google). Jump untuk quote
John Mueller, Google — appearance ≠ peringkat (cited oleh analogy)
- “So the meta description is primarily used as a snippet in the search results page. And that’s not something that we would use for ranking.” (terjemahan) “So deskripsi meta adalah primarily digunakan sebagai sebuah snippet di hasil pencarian halaman. dan itu’s not something itu kami akan gunakan untuk peringkat.” — John Mueller, SEO Office Hours (dapat 2022), via mesin pencari Journal. yang sama “appearance, not ranking” (terjemahan) “appearance, not peringkat” logic adalah cara read OG tags. Read coverage
”My shared link looks wrong” (terjemahan) “My shared tautan looks wrong” — sebuah triage tree
berfungsi top untuk bottom; pertama “yes” (terjemahan) “yes” adalah Anda jawaban.
1. melakukan halaman memiliki OG tags di semua di raw HTML?
Run curl -s https://your-url/ | grep 'og:' (atau “View Source,” (terjemahan) “View Source,” not DevTools’
rendered DOM).
- No tags di raw HTML, tetapi mereka’re di rendered DOM → mereka’re menjadi injected
oleh JavaScript. sebagian besar social crawler don’t run JS, so mereka dapat’t see them. Fix:
server-render tags ke
<head>. - No tags anywhere → tambahkan them. Until lalu, platforms fall back untuk
<title>/deskripsi meta/pertama image (sebuah uncontrolled preview). - Tags adalah present di raw HTML → go untuk 2.
2. adalah og:image sebuah absolute https://… URL?
- No (relative path) → crawler ignore ini. Fix: membuat ini absolute.
- Yes → go untuk 3.
3. melakukan Anda recently perubahan tags, dan old preview masih menampilkan?
- Yes → ini adalah cached. Fix: re-scrape per platform — Facebook Sharing Debugger (“Scrape Again” (terjemahan) “Scrape Again”), LinkedIn Post Inspector. jika ini adalah specifically image dan re-scraping doesn’t help, try changing image’s URL/filename — Facebook’s own docs say images adalah cached oleh URL dan won’t update until URL melakukan.
- No → go untuk 4.
4. adalah ini hanya wrong pada X/Twitter?
- Yes → X reads
twitter:*tags pertama, lalu falls back untuk OG per-property dan defaults untuk sebuahsummarycard jikatwitter:cardadalah missing. There’s no official X validator since ~2022; tambahkan explicittwitter:cardtags dan re-share. - No → go untuk 5.
5. adalah image wrong size/cropped, atau sebuah logo/text image di Google hasil?
- Cropped/blurry pada social → resize untuk 1200×630 (1,91:1), umum cross-platform convention (no single platform’s official spec, tetapi close untuk LinkedIn’s own documented minimum).
- Wrong crop specifically di Google menemukan → menemukan documents sebuah 16:9 ratio (≥1200px wide, >300 000 total pixels), berbeda dari 1,91:1 social convention.
- Google’s thumbnail adalah Anda logo atau sebuah text image → Google menghindari generic logos,
text-di-image, dan extreme aspect ratios; give ini sebuah clean, representative
og:image(atau setprimaryImageOfPageschema).
Open Graph cheat sheet
** tags — what setiap one melakukan**
| Property | diperlukan? | Controls | Notes |
|---|---|---|---|
og:title | Yes | Card headline | juga sebuah Google judul-tautan source (Aug 2024) |
og:type | Yes | Object jenis | website default; article unlocks article:* |
og:image | Yes | Card thumbnail | Absolute URL; juga sebuah Google Search/menemukan thumbnail input |
og:url | Yes | Canonical tautan | Align dengan rel=canonical |
og:description | No | Card blurb | Truncates pada sebagian besar platforms |
og:site_name | No | Brand name | juga sebuah Google situs-name source (below WebSite schema) |
og:locale | No | Language/region | Default en_US; set untuk non-US-English |
og:image:width/:height | No | Layout hint | Helps platforms render sebelum muat |
og:video:image | No | Video thumbnail | Google reads ini untuk video halaman |
Where Google reads OG tags (semua appearance, none peringkat)
| Tag | Google fitur | Priority note |
|---|---|---|
og:title | judul tautan | One dari ~9 sources; not digunakan verbatim |
og:image | Image thumbnail (Search / menemukan; AI Overviews per press reports) | Alt untuk schema primaryImageOfPage |
og:site_name | situs name | Below WebSite data terstruktur |
Fast facts
- No universal spec size untuk
og:image. LinkedIn: 1200×627, 1,91:1. Google menemukan: ≥1200px wide, 16:9. umum convention: 1200×630px, 1,91:1, absolute URL,og:image:altset, no logo/text/extreme ratio. - Missing tags → uncontrolled fallback preview, not sebuah blank one.
- Caching: editing tags doesn’t fix sudah-shared tautan — re-scrape. Facebook caches images oleh URL — sebuah changed URL forces sebuah fresh fetch bahkan jika filename looks similar.
- Facebook: Sharing Debugger → “Scrape Again.” (terjemahan) “Scrape Again.”
- LinkedIn: Post Inspector (sticky cache).
- X: no official validator since ~2022; reads
twitter:*pertama, falls back untuk OG. - rendering: sebagian besar social crawler don’t run JS — tags harus menjadi server-rendered; Slack adalah reported (unofficially) untuk fetch hanya sebuah limited byte range, so pertahankan head tags early.
Open Graph implementation checklist
sebuah pass untuk confirm Anda shared tautan look cara Anda intend:
- semua four diperlukan tags present:
og:title,og:type,og:image,og:url. -
og:descriptiondanog:site_nameset;og:localeset jika not US English. -
og:imageadalah di sebuah absolutehttps://URL — not sebuah relative path, logo, text-heavy graphic, atau extreme aspect ratio. Sized 1200×630px (1,91:1) sebagai umum cross-platform convention, atau diperiksa terhadap spesifik platform’s own documented minimum jika one penting sebagian besar untuk Anda (e.g. LinkedIn’s 1200×627/1,91:1, Google menemukan’s ≥1200px-wide/16:9). -
og:image:width/og:image:height/og:image:altdeclared untuk help card layout dan accessibility. -
og:urlmatches Anda rel=canonical so shares consolidate pada one URL. - Tags adalah di raw, server-rendered HTML
<head>— confirmed via “View Source” (terjemahan) “View Source” /curl, not hanya DevTools’ rendered DOM (sebagian besar social crawler don’t run JavaScript). - Head tags appear early di document (Slack adalah reported, unofficially, untuk fetch hanya sebuah limited byte range dari start dari halaman).
-
og:typematches halaman (articleuntuk posts, unlockingarticle:author/article:published_time). -
twitter:card(dantwitter:*) tags set jika Anda ingin explicit control pada X; otherwise X falls back untuk OG dengan sebuahsummarycard. - Previewed di Facebook Sharing Debugger dan LinkedIn Post Inspector; re-scraped setelah apa pun significant judul/image perubahan.
- untuk halaman Anda ingin eligible untuk Google image thumbnails,
og:image(atau schemaprimaryImageOfPage) adalah sebuah clean, representative image.
Inspect Open Graph output dari terminal
url="$1"
curl -sSL "$url" | grep -Eio '<meta[^>]+property=["'"']og:[^"'"']+["'"'][^>]*>'Save sebagai check-og.sh, run bash check-og.sh https://example.com/page, dan review
raw server respons. ini catches missing server-rendered tags; gunakan platform re-scrape
alat separately untuk jelas cached previews.
Open Graph mistakes untuk hindari
- menggunakan relative
og:imageURLs atau sebuah image blocked dari public fetchers. - Generating OG tags hanya setelah client-side JavaScript runs.
- Publishing multiple conflicting nilai untuk yang sama core property.
- Changing tags repeatedly when actual issue adalah sebuah platform’s cached scrape.
- Treating social-preview markup sebagai sebuah replacement untuk judul, canonical, atau structured-data berfungsi.
Resources worth Anda time
My related writing
- Beginner’s Guide untuk SEO teknis — where appearance layer (judul, deskripsi, dan now OG tags) fits di crawl → indeks → sajikan pipeline. (ini doesn’t cover Open Graph specifically — ini artikel adalah OG deep dive itu guide poin toward.)
My speaking
- How Search berfungsi (SlideShare) — my walkthrough dari crawling, rendering, pengindeksan, dan serving, which adalah backdrop untuk why server-rendered OG tags penting (social crawler don’t run JS). (My standing disclaimer applies: “This is my understanding of systems… not going to be 100% complete or accurate.” (terjemahan) “ini adalah my understanding dari sistem… not going untuk menjadi 100% complete atau accurate.”)
Official / protocol
- Open Graph protocol (ogp.me) — spec: diperlukan vs. optional properties dan structured sub-properties.
- Google — Specify sebuah preferred image dengan metadata —
og:imagesebagai sebuah thumbnail source untuk Search. - Google — Control Anda judul tautan dan situs Names —
og:titledanog:site_namesebagai appearance sources. - web.dev — Social penemuan — Google’s OGP + Twitter Cards explainer.
dari sekitar industry
- Open Graph Meta Tags: Everything Anda perlu Know (Michal Pecánek, reviewed oleh Joshua Hardwick — Ahrefs) — sebuah thorough implementation reference untuk tags dan sizes.
- Google menggunakan both schema.org markup dan og:image untuk thumbnails di Search dan menemukan (mesin pencari Land, March 2, 2026) — coverage dari og:image thumbnail update.
- Google Clarifies How ini Picks Thumbnails untuk Search, menemukan (mesin pencari Journal) — companion write-up pada yang sama perubahan.
- How Google Picks Image Thumbnails di Google Search & Google menemukan (Barry Schwartz, mesin pencari Roundtable) — sebuah ketiga corroborating report.
- Facebook Sharing Debugger — alat untuk scraping/re-scraping how Facebook sees Anda halaman.
- r/TechSEO — community untuk debugging OG/tautan-preview issues.
Test yourself: Open Graph Tags
Five quick pertanyaan pada what Open Graph tags melakukan dan cara get them right. Pick sebuah jawaban untuk setiap, lalu periksa.
Log perubahan
Diperbarui 18 Jul 2026.
Ringkasan editorial dan detail perubahan yang tercatat.Detail perubahan
-
Catatan perubahan terperinci saat ini tersedia dalam bahasa Inggris.
-
Catatan perubahan terperinci saat ini tersedia dalam bahasa Inggris.
-
Catatan perubahan terperinci saat ini tersedia dalam bahasa Inggris.
-
Catatan perubahan terperinci saat ini tersedia dalam bahasa Inggris.
-
Catatan perubahan terperinci saat ini tersedia dalam bahasa Inggris.
Perbandingan lengkap tidak tersedia — tidak ada cuplikan sebelumnya yang diarsipkan untuk revisi ini.