Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter Cards: "No card found (Card Error)"

On Twitter, I can't show an image card when tweeting my website https://startcrowd.club But it works perfectly on Facebook.

I want to show this card: http://startcrowd.club/images/startcrowdimage.jpg

I tried https://cards-dev.twitter.com/validator and I got:

INFO: Page fetched successfully
INFO: 9 metatags were found
ERROR: No card found (Card error)

The relevant metatags on my page https://startcrowd.club/index.html are:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta property="og:image" content="images/startcrowdimage.jpg">

The documentation I followed is:

https://dev.twitter.com/cards/getting-started

like image 256
Mostafa Avatar asked Jun 04 '17 14:06

Mostafa


People also ask

Do twitter cards still exist?

From a manual creation perspective, Twitter Cards have always been supported in the Twitter Ad platform and allow you to design a custom creative to add to your tweet that when clicked will drive people to your website or app.

What is a card name on twitter?

Summary cards are Twitter's “default” card and include a title, description, thumbnail image, Twitter account attribution and a direct link to the content. These are great for blog posts!

How do I change my card on twitter?

Twitter does not allow users to change the image associated with a Twitter card. To change the featured image in the social post, hover over the Twitter card and click Change to photo post.


1 Answers

Ensure that the og:type tag is set. On Facebook it is not required, Facebook will use website as the og:type if it is not found. That is why it worked fine on Facebook.

By adding <meta property="og:type" content="website"> if the twitter:card property is not set, twitter will use summary.

So just add <meta property="og:type" content="website"> and I think it will work fine.

PS: I also had the same issue but when I added <meta property="og:type" content="website"> it worked for me.

like image 189
Peter Umoren Avatar answered Oct 24 '22 07:10

Peter Umoren