627789 vues

Twitter Cards

Sébastien Merour
publié le 13/06/2020 à 14h04 | modifé le 13/06/2020 à 15h44
Catégorie : Front-EndCommentaires (24769)
Twitter Cards
Description

Par le terme de "Twitter Cards", on entend 2 choses :

-les cards "Twitter" permettant d'afficher un tweet sur Twitter

-les balises "Twitter Cards" insérées dans les balises meta d'un site web, afin que Twitter puisse afficher un tweet correctement

Les Cards "Twitter"

Vous l'aurez remarqué : lorsque vous consultez Twitter, les tweets ne s'affichent pas tous de la même façon. Certains sont de simples textes (phrases courtes...), alors que d'autres tweets sont enrichis de photos, de vidéos...

Concernant les tweets enrichis, on distingue 2 catégories :

-le tweet enrichi depuis Twitter : l'utilisateur poste un tweet en y ajoutant une photo, ou une vidéo. Dans ce type de cas, le tweet ne fait appel à aucun site web extérieur. L'utilisateur insére des photos ou des vidéos qui sont présents sur son device (mobile, PC...)

-le tweet enrichi grâce à un site tiers : dans ce cas, lorsque l'utilisateur poste un lien menant à un site web (par exemple un lien vers un article de presse), Twitter insère automatiquement des éléments pour enrichir le tweet (le plus souvent il s'agit par exemple d'un aperçu photo d'un article de presse posté sur un site web. C'est dans ce cas de figure qu'interviennent les balises meta "Twitter Cards".

Plusieurs types de Twitter Cards existent :

- Summary Card : elle affiche un aperçu du site web de référence. L'aperçu contient le titre ou bien une description du document. On y voit aussi une vignette d'aperçu.

- Summary Card avec image large : c'est la même chose, mais cette fois avec une photo bien plus large qui occupe toute la largeur du fil Twitter.

- Photo Card : La Card ne contient qu'une photo. Le contenu standard du tweet intégre également l'auteur, la source et un lien externe.

- Gallery Card.  Seule différence avec la Photo Card : cette fois, plusieurs photos sont affichées.

- App Card. Elle permet d'afficher une application Android ou iOS. La card contient une courte description (celle présente dans l'App Store), ainsi qu'un lien de téléchargement de l'application.

- Player Card. Comme on peu le deviner, ce type de Card affiche des vidéos ou des fichiers audio.

- Product Card. Elle est destinée à ceux voulant faire la promotion d'un produit. Elle affiche un produit avec 2 caractéristiques définies par l'utilisateur. Il peut s'agir de la catégorie du produit, du prix...

 

Les balises meta "Twitter Cards"

Afin d'afficher correctement des Twitter Cards sur Twitter, il est nécessaire d'ajouter des balises meta Twitter Cards sur le site de référence.

3 balises sont obligatoires :

 

La 1ère balise, "twitter:card" correspond à la description courte du site web

Les 2 autres "twitter:site" et "twitter:creator" correspondent au compte Twitter de l'utilisateur.

A noter : si le site web contient les balises Open Graph suivantes : og:type ; og:title ; og:description sont présentes et si la balise twitter:card est absente, alors le summary sera quand même affiché sur Twitter. Lorsque Twitter crawle le site web, il vérifie si des balises Open Graph sont présentes.

Voici quelques exemples de balises Twitter :

twitter:description

Cette balise doit contenir la description de l'article. Elle ne doit pas dépasser 200 caractères.

twitter:title

Comme son nom l'indique, celle-ci contient le titre. Limitée à 70 caractères.

twitter:image

URL de l'image à insérer dans la card. A noter : l'image doit faire moins de 5 Mo. Les formats supportés sont : JPG, PNG, WEBP et GIF. Dans le cas d'un GIF, seule la première frame est affichée. Le format SVG n'est pas supporté.

twitter:image:alt

Description de l'image. Maximum autorisé : 420 caractères.

twitter:player

URL du player vidéo ou audio.

twitter:player:width

Largeur en pixels du player.

twitter:player:height

Hauteur en pixels du player

A quoi ça sert ?

Les Twitter Cards ont un intérêt évident : plus le tweet est enrichi (présence d'une description, d'une vignette, d'une vidéo...), plus le lien aura des chances d'être cliqué, et ainsi il permettra de générer du traffic sur le site web. Attention cependant : certains éléments comme les vidéos, ne vont pas forcément générer du traffic, car dans le cas des vidéos, l'utilisateur peut se contenter de visionner intégralement la vidéo sur Twitter sans visiter le site web.

Fonctionnalités
SEO / Réseaux Sociaux
Créateur
Twitter
Liens
Aux dernières nouvelles
Rien à signaler.

24769 Commentaire(s)
  1. user
    mostbet_saEl
    06/07/2025 à 00h05  commentaire modifé
    mostbet aviator təlimat mostbet3041.ru

  2. user
    chickenFap
    05/07/2025 à 23h45  commentaire modifé
    chicken road rtp Chicken Road: What Gamblers Are Saying Chicken Road stands out as a gambling game with arcade vibes, attracting users with its easytograsp gameplay, high RTP (98%), and distinctive cashout system. We’ve collected honest feedback from actual players to see if it lives up to expectations. What Players Like Numerous players commend Chicken Road for its quick, engaging action and userfriendly design. The ability to cash out at any time adds a strategic twist, while the high RTP makes it feel fairer than traditional slots. Beginners love the demo mode, which lets them try the game without risking money. The game earns extra points for its mobile compatibility, running seamlessly on both new and older devices. Melissa R., AU: “Unexpectedly enjoyable and balanced! The ability to cash out brings a layer of strategy.” Nathan K., UK: “The retro arcade vibe feels invigorating. Plus, it works perfectly on my tablet.” Gamers are also fond of the vibrant, retro aesthetic, making it both enjoyable and captivating. Drawbacks While it has many positives, Chicken Road does have some downsides. Certain players think the game is too predictable and doesn’t offer much variety. Others mention slow customer support and limited features. Misleading ads are another issue, with many assuming it was an arcade game instead of a gambling app. Tom B., US: “It starts off fun, but the monotony sets in quickly.” Sam T., UK: “Promoted as entertainment, yet it turns out to be a gambling product.” Pros and Cons Advantages Straightforward, actionpacked mechanics High RTP (98%) ensures fairness Demo mode for riskfree learning Seamless operation on smartphones and tablets Cons It might feel too predictable over time Limited variety and features Delayed responses from support teams Confusing promotional tactics Overall Assessment Thanks to its transparency, high RTP, and userfriendliness, Chicken Road makes a mark. It’s a great option for casual players or those new to online gambling. However, its reliance on luck and lack of depth may not appeal to everyone. To maximize enjoyment, stick to authorized, regulated sites. Rating: Four out of five stars A balanced blend of fun and fairness, with potential for enhancement.

  3. user
    chickenFap
    05/07/2025 à 23h41  commentaire modifé
    Chicken Road: Honest User Opinions Chicken Road is a gamblinginspired arcade game that has drawn interest due to its straightforward mechanics, impressive RTP (98%), and innovative cashout option. We’ve collected honest feedback from actual players to see if it lives up to expectations. What Users Appreciate Many users praise Chicken Road for its fastpaced gameplay and ease of use. With its cashout feature offering strategy and an RTP of 98%, it feels like a fairer alternative to conventional slot games. The riskfree demo mode has been a favorite among new players, providing a safe way to explore the game. Players also rave about the mobilefriendly design, which performs flawlessly even on outdated gadgets. Melissa R., AU: “Surprisingly fun and fair! The cashout feature adds strategy.” Nathan K., UK: “The arcade style is refreshing. Runs smoothly on my tablet.” Gamers are also fond of the vibrant, retro aesthetic, making it both enjoyable and captivating. Drawbacks Despite its strengths, Chicken Road isn’t without flaws. A number of users feel the gameplay becomes monotonous and lacks complexity. Others mention slow customer support and limited features. One frequent criticism is deceptive marketing, as people thought it was a pure arcade game rather than a gambling platform. Tom B., US: “Initially enjoyable, but the repetition kicks in after a short while.” Sam T., UK: “Promoted as entertainment, yet it turns out to be a gambling product.” Strengths and Weaknesses Advantages Simple, fastpaced gameplay High RTP (98%) ensures fairness Demo mode for riskfree learning Smooth performance on mobile devices Negative Aspects Gameplay can feel repetitive Lack of diversity and additional options Slow or unresponsive customer support Confusing promotional tactics Final Verdict Thanks to its transparency, high RTP, and userfriendliness, Chicken Road makes a mark. Perfect for relaxed gaming sessions or newcomers to online betting. However, its reliance on luck and lack of depth may not appeal to everyone. To maximize enjoyment, stick to authorized, regulated sites. Rating: Four out of five stars An enjoyable and equitable option, though it has areas to grow.

  4. user
    kashpo napolnoe_xwKa
    05/07/2025 à 23h23  commentaire modifé
    высокие вазоны для цветов для дома напольные kashpo-napolnoe-msk.ru - высокие вазоны для цветов для дома напольные .

  5. user
    kashpo napolnoe_ypml
    05/07/2025 à 23h22  commentaire modifé
    горшок напольный высокий купить https://kashpo-napolnoe-spb.ru - горшок напольный высокий купить .

Ajoutez un commentaire :