My automated twitter cards are not showing up on Twitter? #5973
-
DescriptionHey, I just created a blog via Quarto and tried enabling the automated twitter cards for my posts. Here is my shortened _quarto.yaml. website:
favicon: thegilpatricklogo.png
open-graph: true
twitter-card: true
site-url: https://thegilpatrick.com When I try to post a link to a blog post webpage for example: https://thegilpatrick.com/posts/recipe-web-scrape/ Nothing shows up on Twitter. Even though when I view the page source search the html I found the twitter card stuff near the bottom of the page.
Why do you think the Twitter web crawler cannot find it? Could it have to do with it being too far down the page starting on line 25304? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 20 replies
-
I ran the URL through their validator and it complained about the size being too large: https://cards-dev.twitter.com/validator I'm not sure what is making the page excessively large though - not sure if that is a helpful clue. I also noticed that the image path itself is mixing forward and backward slashes, which may work for twitter but is clearly a bug in Quarto. What version of Quarto are you using - I feel like we may have fixed this but would be good to confirm that you're on the latest released build of Quarto 1.3. |
Beta Was this translation helpful? Give feedback.
-
Okay I republished to Github Pages without |
Beta Was this translation helpful? Give feedback.
You still have issues in your website:
embed-resources: true
site-url
is wrong for some reason (probably a bad setup of your domain in Netlify): https://www.opengraph.xyz/url/https%3A%2F%2Fthegilpatrick.com%2Fposts%2Frecipe-web-scrape%2FSee https://www.opengraph.xyz/url/https%3A%2F%2Fm.canouil.dev%2Fquarto-issue5973%2Fposts%2Frecipe-web-scrape%2F from my fork at https://github.com/mcanouil/quarto-issue5973 and published to GitHub Pages (https://m.canouil.dev/quarto-issue5973/).
For short, it is working "fine" for me.
What's the output…