A Python-based tool that helps you visualize and validate how your web page appears when shared on Facebook and Twitter by analyzing meta tags and optionally generating live preview screenshots.
- Detects Open Graph meta tags (Facebook)
- Detects Twitter Card meta tags
- Validates presence and content of essential tags
- Optionally generates a live screenshot of the page preview using Selenium
requests– fetch HTML contentBeautifulSoup– parse and extract meta tagsselenium– (optional) capture webpage screenshot
https://github.com/Aditi-Rani/Social-Media-Preview-Checkercd social-media-preview-checkerpip install -r requirements.txtpython sm_preview_checker.py