Social previews audit rules
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
social-og-title
Section titled “social-og-title”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.
social-og-description
Section titled “social-og-description”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.
social-og-image
Section titled “social-og-image”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.
social-og-image-size
Section titled “social-og-image-size”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.
social-twitter-card
Section titled “social-twitter-card”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.
social-og-url
Section titled “social-og-url”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.
social-og-url-canonical
Section titled “social-og-url-canonical”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.
social-share-buttons
Section titled “social-share-buttons”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.
social-profiles
Section titled “social-profiles”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.
social-og-image-reachable
Section titled “social-og-image-reachable”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.
social-meta-multiple
Section titled “social-meta-multiple”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.
social-twitter-attribute
Section titled “social-twitter-attribute”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.
social-duplicate-og
Section titled “social-duplicate-og”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.
