
https://thutool.com/word-counter. If you leave out https:// it is added for you.og:*) and Twitter Card (twitter:*) tags.A blog post that only has <title> and no og:image shows up on Facebook as a plain text link. Adding these tags to <head> gives it a large image card:
<meta property="og:title" content="10 tips for faster SQL" /> <meta property="og:description" content="Simple index and query tips." /> <meta property="og:image" content="https://example.com/img/sql-tips.jpg" /> <meta property="og:url" content="https://example.com/sql-tips" /> <meta name="twitter:card" content="summary_large_image" />
I fixed my tags but Facebook still shows the old preview. Facebook and Zalo cache previews. Use the Facebook Sharing Debugger and click "Scrape Again" to refresh the cache. This tool always reads the live page.
What size should og:image be? 1200 × 630 pixels (ratio 1.91:1) works well everywhere. Use an absolute https:// URL and keep the file under 5 MB.
Why does it say the URL is not allowed? For security the checker only fetches public websites on ports 80 and 443. Local addresses such as localhost, 127.0.0.1 or 192.168.x.x are blocked.
Is the preview exactly what each network shows? It is a close approximation. Each network changes its layout from time to time and may crop long titles differently.