OGP Text Optimization — Improve Social Media Share Displays

Open Graph Protocol (OGP) controls how your web pages appear when shared on social media. Without proper configuration, titles get truncated and unintended descriptions appear, dramatically reducing click-through rates. This guide covers OGP text optimization and platform-specific display specifications.

Platform Display Specifications

Platformog:title Displayog:description DisplayImage Size
X (Twitter)~70 chars~120 chars1200×628px
Facebook~60 chars~80 chars1200×630px
LinkedIn~70 chars~100 chars1200×627px
Slack~70 chars~150 chars1200×630px

Design your og:title around Facebook's ~60 character limit to ensure proper display across all platforms.

Optimizing og:title

Writing og:description

Keep og:description to 70–120 characters. Place the most important information in the first 40 characters so truncation doesn't lose meaning. Use Character Counter to verify lengths.

OGP Image Guidelines

Debugging and Validation

Always verify OGP settings using platform debugging tools: Facebook Sharing Debugger, X Card Validator, and LinkedIn Post Inspector. If cached data persists, use the re-scrape function to fetch updated OGP information.

Common Mistakes

Conclusion

Aim for 40–60 characters for og:title and 70–120 for og:description. Always verify with debugging tools before publishing. Use Character Counter to check your OGP text lengths.