Skip to content

A Python tool to check how your webpage looks when shared on social platforms like Facebook and Twitter. It validates meta tags (Open Graph and Twitter Card) and optionally captures a preview screenshot using Selenium.

License

Notifications You must be signed in to change notification settings

Aditi-Rani/Social-Media-Preview-Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“£ Social Media Preview Checker

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.


βœ… Features

  • 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

πŸ› οΈ Tech Stack

  • requests – fetch HTML content
  • BeautifulSoup – parse and extract meta tags
  • selenium – (optional) capture webpage screenshot

πŸš€ How to Run

1. Clone the Repository

https://github.com/Aditi-Rani/Social-Media-Preview-Checker
cd social-media-preview-checker

2. Install Dependencies

pip install -r requirements.txt

3. Run the Script

python sm_preview_checker.py

About

A Python tool to check how your webpage looks when shared on social platforms like Facebook and Twitter. It validates meta tags (Open Graph and Twitter Card) and optionally captures a preview screenshot using Selenium.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages