*Description of issue: I have been struggling with this for a while, but only recently as I start to push for more content when I decided to take it seriously. For as long as I can remember, Twitter posts from my site have never shown cards.
URL affected (must be public): https://playstationcompass.com/dont-starve-together-choose-character/ is just one example. But any post from any time, recent, old… none of them work.
Troubleshooting steps attempted [note that we will not prioritise posts unless there is evidence of following the troubleshooting guides]:
First I ran the card validator, which returns this:
INFO: Page fetched successfully
INFO: 30 metatags were found
INFO: twitter:card = summary_large_image tag found
INFO: Card loaded successfully
I have been using Yoast SEO plugin which includes a section for including metadata for Twitter, so I assumed it was doing its thing. In the past, I did try to install other plugins just for the purpose of getting cards, and none of them worked.
Today I went through the READ ME FIRST troubleshooting steps, one by one, and made sure to follow everything I understood:
- I viewed source; the tags are there.
- The twitter:card metatag looks like this: <meta name=twitter:card content=summary_large_image>
- curl -v -A Twitterbot <url> did have a 200 OK thing, and I saw a valid line in Content-Type, but to be honest this was a little over my head, so I can’t be sure that what I saw was actually correct.
- Site should be accessible. I’ve fiddled with robots.txt a few times, and the file is quite small.
- I just installed the Twitter plugin, but I can’t anything about cards in the settings. I see a Tweet button after the post and a spot for my username. In the new post/edit post window I see a section at the bottom for Twitter posts, setting the default text (if you want it different from the title) and something about the card, but nothing that worked. I used the Twitter plugin with Yoast’s Twitter card section enabled and disabled.
- Robots.txt should be fine. The featured image (that’s what Twitter uses for cards, right?) is 678x381, 44kb, and JPG. The original file is larger than that, 1920x1080 and 3 or 4 MB, but Smush resizes the images before they post.
- No validator errors, as mentioned above.
- Fully qualified DNS name is https://playstationcompass.com, right?