The URL in question is: https://bedrock-dev-mattcollier.c9users.io/twitter
The tags in the page right now are taken directly from https://dev.twitter.com/cards/types/summary
The full report from the validator is: INFO: Page fetched successfully INFO: 3 metatags were found WARN: Not whitelisted
curl -A Twitterbot https://bedrock-dev-mattcollier.c9users.io/twitter
properly renders the page.
I understand from reading other postings that the ‘Not whitelisted’ error can sometimes be misleading. Any recommendations?
I don’t see any Twitter card markup when I load your page. Are you expecting them to be rendered by a Javascript function?
@andypiper If you curl -A Twitterbot https://bedrock-dev-mattcollier.c9users.io/twitter
You should see the following HTML: https://gist.github.com/mattcollier/c947ec5706b89a4e009ca21afd740f45
The URL produces different output if the user-agent is a bot.
How are you attempting to access the URL?
Ah, got it - yes, I see that it is different in the browser and with the Twitterbot user agent. However, you’re not returning a content-type header on that response to the Twitterbot. Try adding Content-Type: text/html.
Content-Type: text/html
@andypiper You nailed it!
I appreciate your help!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.