Same card displayed for all Blog Posts - Wix site


#1

Hi, I have a site created on Wix.
When trying to share my posts’ urls, the post’s image and title aren’t displyed even though the twitter card is set correctly and validation passes. For example: https://www.nayacenter.com/single-post/2017/05/04/Your-Bodys-Secret-Weapon---Balanced-Gut-Bacteria.
Any idea?


#2

You don’t have any Twitter-specific card markup on that page, but there is some OpenGraph og markup which is used as a fallback to generate a Twitter summary card. There’s no twitter:image or og:image tag in the page so there’s no way for Twitter to show an image in the card.

Check the troubleshooting post and the documentation for more help.


#3

There are twitter cards. please see attached.


#4

No, that content is not visible to me on that URL, either on the browser view source window, or via a command-line query using curl -A Twitterbot <url> as described in the troubleshooting post. You’ll need to figure out why there’s a difference. It could be that the wrong state is being cached somewhere, but we are unable to help you with that.


#5

Thanks for the input. I guess this is because the site is JS generated.
I wonder, though, why the card validator didn’t reflect it…


#6

Because the card validator sees the (static non-JS inserted) og tags but not the JS inserted Twitter tags.


#7

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.