Skip to content

Social previews audit rules

View as Markdown

Sonjoo groups 13 checks under Social previews (social). Select this category with sonjoo audit <url> --categories social, or pass the category ID in an HTTP audit request.

This category has weight 3 in the overall audit score when it has scored results. Sonjoo normalizes category weights over the categories with scored results.

All audit categories · Rule settings and interpretation

Require nonempty Open Graph title markup for a share preview audit, using property= on metadata in the document head.

Inputs. A document collected for audit.

Evidence. Presence, title and any validation issue.

Base scoring weight 1 when measured.

Require nonempty Open Graph description markup for a share preview audit, using property= on metadata in the document head.

Inputs. A document collected for audit.

Evidence. Presence, description and any validation issue.

Base scoring weight 1 when measured.

Require nonempty Open Graph image URL markup for a share preview audit, using property= on metadata in the document head.

Inputs. A document collected for audit.

Evidence. Presence, image URL and any validation issue.

Base scoring weight 1 when measured.

Compare positive declared Open Graph image dimensions for the primary image against that image’s fetched header.

Inputs. Local share image with recognized header and an explicit dimension in metadata.

Evidence. Declared and actual width and height with the share image URL.

Base scoring weight 1 when measured.

Recognize an explicit, nonempty name=twitter:card declaration and check the type against Sonjoo’s supported list.

Inputs. A document collected for audit.

Evidence. Declared type and whether it is valid.

Base scoring weight 1 when measured.

Require nonempty Open Graph object URL markup for a share preview audit, using property= on metadata in the document head.

Inputs. A document collected for audit.

Evidence. Presence, object URL and any validation issue.

Base scoring weight 1 when measured.

Compare the Open Graph object URL and the HTML canonical URL when both are present.

Inputs. A document collected for audit.

Evidence. Presence flags and match decision, with original URL evidence.

Base scoring weight 1 when measured.

Detect common outbound share-intent controls and recognized share widgets.

Inputs. A document collected for audit.

Evidence. Distinct platforms and sampled URLs or widget type.

Base scoring weight 1 when measured.

Count recognized social profile links or structured sameAs links across distinct platforms.

Inputs. A document collected for audit.

Evidence. Platform tally and concrete profile URLs.

Base scoring weight 1 when measured.

Verify the advertised share resource is reachable and assess the image’s media type, dimensions and documented preview quality limits.

Inputs. Local HTTP asset is advertised by share metadata.

Evidence. URL, response status, detected media dimensions, and rationale for failures or uncertainty.

Advisory. Excluded from scoring.

Warn when a social singleton property has conflicting declarations; preserve repeated values for defined Open Graph arrays.

Inputs. A document collected for audit.

Evidence. Property names and distinct conflicting values.

Advisory. Excluded from scoring.

Review X Card metadata for the preferred native name= syntax.

Inputs. A document collected for audit.

Evidence. Count of correctly marked tags or list of incorrectly marked properties.

Advisory. Excluded from scoring.

Compare share titles and descriptions across eligible crawl pages, excluding the current page and ineligible peers by default.

Inputs. A collected crawl with eligible peer pages and share metadata.

Evidence. Affected peer URLs and shared share title or description.

Advisory. Excluded from scoring. Has configurable thresholds or options.