Could you please help me find why twitter/OG previews are not working for this domain? I have everything implemented and I thought i might have to give some time for domains propagation. Iam afraid thats not the case. Twitter card validator is working fine, but i get no previews while sharing on whatsapp or anywhere else (including twitter). But it works on facebook. Please help. Also its worth noting that the domain name server has recently been transfered from zeit’s now.
Hey @wisabid,
It looks like you don’t have prerendering enabled for this site. You can toggle it here:
Here’s a great, in-depth post about our prerendering service:
Please note the first caveat there (though it looks like you already have things set up correctly)!
We cache the prerendered content for 24 to 48 hours, so you will want to make sure to test with different URLs each time if you are making changes and republishing a lot while you get things dialed in. Most importantly, this cache is NOT invalidated by a new deploy of your site!
Want to turn on prerendering and let us know if you still have this issue?
I do not have prerendering enabled for https://www.alfalvin.co.uk either. But that one works like a charm and it is built on same stack - Gatsby. Please clarify
Hard to say, as we are not familiar with your code. I’d suggest turning on prerendering as Jen recommended as that is the usual method people use for these things
Thank you for your response. But please read my message about https://www.alfalvin.co.uk site as that is not configured with pre rendering and it still works.
I saw that. Instead of debugging why a site mysteriously works, though, I’m interested in debugging the site that doesn’t work. Could you please try my suggestion and let me know how it goes?
I know you said you “tried it” but you have turned off prerendering again for that site, so our tests are fruitless. Could you please turn it on and leave it on for our testing, and alert me once you’ve done so and redeployed?
I disabled prerendering because my new deployments were not reflecting any new changes in the site. I believe its the default behaviour of prerendering as thats what its meant for - caching.
The good news is I was able to solve preview issue deep diving into the issues & discussions of community. It was due to a style tag presence prior to og tags and I sticked to the work around of positioning it at the right place.
Thank you very much for all your help and support.