Skip to content

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

 
 
 

Contributors

Languages