social/social-links Social Media Links SEO Rule
Check for social media platform links and Open Graph meta tags to optimize social sharing and engagement
What This Rule Checks
Scans all page links for social media platform URLs (Twitter/X, Facebook, Instagram, Discord, LinkedIn, YouTube, etc.). Also checks for complete Open Graph (og:title, og:description, og:image, og:url) and Twitter Card meta tags.
Why It Matters for SEO & GEO
Social media links build brand authority and drive referral traffic. Open Graph and Twitter Card tags control how your content appears when shared, directly affecting click-through rates from social platforms.
How to Fix
Add links to your active social media profiles. Include complete Open Graph tags (title, description, image, url) and Twitter Card tags. Ensure at least one major platform (Twitter/X, Facebook, Instagram, or Discord) is linked.
Examples
Bad
<head><!-- no OG tags --></head><body><!-- no social links --></body> Good
<head><meta property="og:title" content="My Page"><meta property="og:description" content="Description"><meta property="og:image" content="https://example.com/og.jpg"><meta property="og:url" content="https://example.com"></head> How VibeLinter Checks Social Media
VibeLinter has two social rules that work together:
Social Links Check (social/links)
- Platform detection — Scans all
<a>tags for links to 15+ social platforms (Twitter/X, Facebook, Instagram, Discord, LinkedIn, YouTube, TikTok, GitHub, Telegram, Reddit, Pinterest, Snapchat, WhatsApp) - Required platforms — Warns when no links to major platforms (Twitter/X, Facebook, Instagram, Discord) are found
- Missing social presence — Warns when no social media links exist on the page at all
- Success reporting — Reports the number and names of detected social platforms
Open Graph & Twitter Cards Check (social/og)
- OG tags completeness — Checks for og:title, og:description, og:image, and og:url (scores 0-4)
- Twitter Cards completeness — Checks for twitter:card, twitter:title, twitter:description, and twitter:image (scores 0-4)
- Missing tags alert — Warns when either OG or Twitter Card tags are incomplete
Configuration
// vibelinter.config.cjs
module.exports = {
rules: {
'social/links': {
enabled: true,
severity: 'warning'
},
'social/og': {
enabled: true,
severity: 'warning'
}
}
}
SEO Impact
Social media optimization affects:
- Social referral traffic — Well-configured social sharing increases click-through from social platforms
- Brand signals — Active social profiles contribute to E-E-A-T (Experience, Expertise, Authority, Trust)
- Rich social previews — Complete OG/Twitter tags ensure attractive previews when content is shared
- GEO (Generative Engine Optimization) — AI models use social metadata as additional context for understanding content; strong social signals can improve content authority in AI-generated answers