work on a new issue

#new issue display twitter card images

  1. As per twitter document link for creating Twitter cars for images we have to follow this

Twitter document

For that we need to add meta tags

<meta name=”twitter:card” content=”summary” />
<meta name=”twitter:site” content=”@nytimesbits” />
<meta name=”twitter:creator” content=”@nickbilton” />
<meta property=”og:url” content=”” />
<meta property=”og:title” content=”A Twitter for My Sister” />
<meta property=”og:description” content=”In the early days, Twitter grew so quickly that it was almost impossible to add new features because engineers spent their time trying to keep the rocket ship from stalling.” />
<meta property=”og:image” content=”” />

like this.

Also, Twitter’s crawler respects Google’s robots.txt specification when scanning URLs. If a page with card markup is blocked, no card will be shown. If an image URL is blocked, no thumbnail or photo will be shown.

For example, here is a robots.txt which disallows crawling for all robots, except Twitter’s fetcher:

User-agent: Twitterbot

User-agent: *
Disallow: /

we also check the link it is valid for Twitter card link or not on this.

For Solution, we can use any NPM package if available I search for that all are not working now so this option is not available for Bot

Also, sharing screenshot of Card link validator

This screenshot of Wikimedia Common images link

I also pushed JSON file with 400+ images link with emoji still now!