ropensci-org / blog-guidance

rOpenSci Blog Guidelines for Authors and Editors (bookdown::git_book)
https://blogguide.ropensci.org/
9 stars 4 forks source link

Twitter card validator doesn't work with any blog posts #199

Closed steffilazerte closed 1 year ago

steffilazerte commented 2 years ago

The Twitter card validator we recommend for checking out Twitter cards doesn't seem to be working for any blog posts (not only previews).

For example, I get "Unable to render Card preview" on both Firefox and Chrome for https://ropensci.org/blog/2021/01/19/introducing-baseset/ (which I think gets the default rOpenSci card) and https://ropensci.org/blog/2022/03/29/rsnps-update/ (which has a custom Twitter card).

But the log (for the second) says

INFO:  Page fetched successfully
INFO:  13 metatags were found
INFO:  twitter:card = summary_large_image tag found
INFO:  Card loaded successfully

@maelle any ideas? Right now I find it better to draft a tweet with the URL (but I'm not sure it works with the preview)...

steffilazerte commented 2 years ago

Or is this an issue for roweb3?

maelle commented 2 years ago

Oh weird!

maelle commented 2 years ago

https://twittercommunity.com/t/unable-to-render-card-preview/173566

maelle commented 2 years ago

So I'd say we just wait for now!

Drafting a tweet (as you said) / posting in a Slack message to yourself is the workaround in the meantime.

steffilazerte commented 2 years ago

Huh, I should have thought to check Twitter. Let's leave this issue open. If Twitter doesn't fix the card validator, we should update the Blog Guide instructions.

yabellini commented 1 year ago

Perhaps remove the mention of Twitter card validator now.

steffilazerte commented 1 year ago

Yes, I want to update those checklists as well! Moved this to a new issue #220