Site has twitter card markup, but getting whitelist error




So we are trying to implement twitter cards, but we’re not having much luck. Our meta data exists in the markup, but we’re getting a whitelisting error when I try to validate the card that is on this page:

This is the log of the validator:
INFO: Page fetched successfully
INFO: 5 metatags were found
WARN: Not whitelisted
Any assistance would be great.



So I have figured out why the twitter card is not showing up. The validator is scraping the page source of the website and not the actual generated HTML. Our site has a bunch of javascript on our page source because we pull the article retroactively, meaning the validator is not picking up any of the HTML that we give it.

This is not really a solution that’s solveable now, but will there be support for scraping the actual generated HTML later?

(To see the difference, inspect the HTML code and then look at the Page Source for the site above)


The validator cannot and does not execute Javascript, so dynamic behaviour like this is not supported.


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