Something not working? Here are the most common issues.
No og:image tag in page source
View your page source and search for og:image. If it’s missing:
- Check that the meta tag is in your layout’s
<head>section - Make sure the layout is being used by the controller rendering the page
- If you’re using
content_forblocks, confirm theyieldis inside<head>
Image not rendering
If the og:image tag is present but the image isn’t showing up when you share a link:
- Copy the
og:imageURL from your page source and open it directly in your browser. You should see the rendered image or get redirected to one. - Make sure your page is publicly accessible. OpenGraph+ loads your page in a headless browser, so if it hits a login wall, that’s what the social card will show.
- Check that your connection URL is correct. It should look like
https://$OGPLUS_KEY.ogplus.netfollowed by the page path.
Wrong page content in the image
OpenGraph+ screenshots whatever your server returns at that URL. If the image shows unexpected content:
- Open the page at the same path in your browser and check that it renders what you expect
- If you’re behind a CDN or reverse proxy, make sure it isn’t rewriting the path
- Check the Customize guide for controlling what gets captured using selectors and CSS
Stale images
If you’ve updated a page but the social card still shows old content:
- Check your HTTP cache headers. OpenGraph+ respects
Cache-ControlandETagheaders from your Rails app. - You can purge the cache for a specific page from your OpenGraph+ dashboard.
- See the Caching guide for details on how to set up cache invalidation.