Twitter Card Validator avatar
Twitter Card Validator

Pricing

Pay per usage

Go to Apify Store
Twitter Card Validator

Twitter Card Validator

Validate Twitter Card meta tags (twitter:card, twitter:title, twitter:description, twitter:image, etc.) to optimize link previews on X (Twitter) and other apps that reuse Twitter card metadata. Detect missing/empty tags, duplicates, invalid URLs, and optionally verify image URL accessibility.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Bikram Adhikari

Bikram Adhikari

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

Twitter Card Validator (twitter:* meta tags)

Validate Twitter Card meta tags so your URLs generate correct link previews on X (Twitter) and other platforms that reuse Twitter card metadata.

This actor extracts all twitter:* meta tags, checks for common issues, and outputs both a per-page dataset and a run-level SUMMARY + REPORT.

What it checks

  • Extracts meta[name="twitter:..."] (and meta[property="twitter:..."] when present)
  • Missing required tags (default: twitter:card, twitter:title, twitter:description, twitter:image)
  • Empty values (treated as missing)
  • Duplicate tags (same twitter:* tag repeated)
  • Optional: validate twitter:card type is one of summary, summary_large_image, app, player
  • Optional: lightweight HTTP checks that twitter:image is accessible and is an image

Input

  • Start URLs: list of URLs to check
  • Max pages: limit pages processed
  • Follow links / Max depth / Same domain only: depth-limited internal crawl
  • Request timeout: per-page timeout
  • Required Twitter tags: override required list
  • Validate twitter:image URLs: optional image accessibility check

Output

Dataset (per page)

Each dataset item includes:

  • twitterTags (all extracted tags)
  • twitterCard, twitterTitle, twitterDescription, twitterImage, twitterImages
  • hasRequiredTags, missingRequiredTags, duplicateNames
  • warnings, errors

Key-Value Store

  • SUMMARY: run totals and settings
  • REPORT: { summary, pages: [...] } simplified page-by-page report

Common use cases

  • SEO QA / social preview QA before publishing
  • Site-wide audits for missing Twitter card tags
  • Detect duplicate/incorrect twitter:card values

Quick start

Store page: https://apify.com/scrappy_garden/twitter-card-validator

Paste this into Input and click Run:

{
"startUrls": [
{
"url": "https://example.com/"
}
],
"proxyConfiguration": {
"useApifyProxy": false
}
}

Outputs (what you get)

  • Dataset: Dataset items typically include fields like: url, loadedUrl, statusCode, title, twitterCard, twitterTitle, twitterDescription, twitterImage, hasRequiredTags, missingRequiredTags.
  • Key-value store: REPORT, SUMMARY

Tips (trust + predictable results)

  • Start with 1–3 URLs to validate behavior, then scale up.
  • If a target blocks requests, enable Proxy and/or slow down concurrency in Input.
  • Use the SUMMARY / REPORT keys (when present) for automation pipelines and monitoring.

Search keywords

twitter card validator, twitter card validator - validate twitter:* meta tags for x/twitter previews, website audit, seo, twitter card