2715923 vues

Twitter Cards

Sébastien Merour
publié le 13/06/2020 à 14h04 | modifé le 13/06/2020 à 15h44
Catégorie : Front-End | Commentaires (66333)
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.

66333 Commentaire(s)
  1. user
    AlecImpam
    05/10/2026 à 10h27  commentaire modifé
    The examples really helped me grasp the points faster than abstract descriptions would have, and a stop at frostdockartisanbazaar added a few more practical illustrations that drove the message home, the kind of writing that knows its readers learn better through concrete situations rather than vague generalities is rare and worth recognising clearly.

  2. user
    nonebet_aesi
    05/10/2026 à 10h18  commentaire modifé
    I've been using Nonebet for maybe six months now, mainly late nights, and thought I'd write something up since a mate asked me. Signup was painless — email, password, done, though the KYC bit showed up when I went to cash out, which every licensed site does anyway. Min deposit was $10 which is fine for a casual punter. The lobby's big — they claim over 3,000 titles from memory. NetEnt dominates, so Gates of Olympus, Big Bass, the usual suspects get pushed hard. I tend to grind Big Time Gaming Megaways when I'm not chasing. Microgaming classics are in there too. The live section runs on Evolution, so you get actual dealers, blackjack tables at all hours and Crazy Time and Monopoly Live if that's your thing. The welcome deal when I joined was 100% up to $500 plus 100 free spins, wagering was around 35x which honestly is standard for AU-facing sites, not generous. They also had a small no deposit thing for a while but don't count on it. Offers rotate a lot so have a look at wyns casino rather than trusting my numbers. What did get on my nerves is the $5 max bet cap during bonus play — I busted it by accident once and lost the lot. My fault, but still. Cashouts at Nonebet have been pretty quick. Bitcoin withdrawals landed within a couple of hours every time I've done it, e-wallets were about a day, but the Visa one dragged out to nearly four days which is the slow lane. Funding is instant with Visa, Mastercard or crypto. Support got back to me in about five minutes at midnight, actual humans once you get past the bot. Nonebet doesn't have a proper app that I've found — it's a browser thing, works well enough on the Android. It's a Curacao licence, so not local regulation, something to be aware of for us down here.

  3. user
    Laynecluri
    05/10/2026 à 10h15  commentaire modifé
    Quietly the writers approach to the topic differs from the dominant takes I have been encountering, and a stop at marblecovecommercehub extended that distinctive approach, content that maintains a different perspective without explicitly arguing against the dominant ones is content with confident editorial identity and this site has that confidence throughout pieces.

  4. user
    nonebet_qasi
    05/10/2026 à 10h14  commentaire modifé
    Been using Nonebet for maybe six months now, mostly after work, and figured I'd dump some thoughts since a few blokes here asked. Signup was painless — email, password, done, though the ID verification hit me later, which every licensed site does anyway. Min deposit was around $10 which is fine for a casual punter. There's a stupid amount of games — somewhere north of 2,500 titles from memory. NetEnt dominates, so Sweet Bonanza and Book of Dead are all there. I mostly stick to Big Time Gaming Megaways when I want longer sessions. NetEnt classics are in there too. Live dealer side runs on Evolution, which means real croupiers, blackjack tables at all hours plus Crazy Time if that's your thing. The welcome deal when I joined was 100% up to $500 plus 100 free spins, wagering was around 35x which honestly is about average. They also had a small no deposit thing at one point but it comes and goes. Offers rotate a lot so have a look at wyns casino if you're thinking about it. What did get on my nerves is the $5 max bet cap during bonus play — I busted it by accident once and the balance got voided. Lesson learned. Cashouts at Nonebet have been pretty quick. Bitcoin withdrawals landed same day both times, Skrill and Neteller were about a day, but the Visa one took three business days which is the slow lane. Deposits are instant via card, Skrill, Neteller or crypto. Support answered me at 2am, not just a bot loop once you get past the bot. Nonebet doesn't have a proper app that I've found — it's just the mobile browser, but it runs fine on my phone. Licensed out of Curacao, so not local regulation, make of that what you will if you're in Australia.

  5. user
    crazy_jaen
    05/10/2026 à 10h12  commentaire modifé
    Bazzico su queste piattaforme da inizio anno e va detto la ruota mi ha regalato piu risultati di quanto pensassi. Non sono certo uno che sbrocca con le puntate, normalmente metto due o tre euro per giro e tanto basta. La sezione giochi di Crazy Time e ben fornito: tra le 2000 e passa slot contando Pragmatic Play, NetEnt e Play'n GO, quindi i classiconi come Gates of Olympus, Sweet Bonanza e Book of Dead non mancano. La sezione con i croupier gira su Evolution e si vede. Croupier veri, con qualche tavolo italiano nelle ore di punta, e i vari game show sono quelli dove butto quasi tutte le serate. Di tanto in tanto do un'occhiata a le statistiche dei bonus round prima di sedermi, non che serva davvero, eh. L'offerta di benvenuto proposta da Crazy Time al momento sta sul 150% fino a 400€ piu anche 200 giri gratis, distribuiti su piu giorni. C'e pure un no deposit da 10€ una volta caricato il documento. Il requisito di puntata e 35x, nella media insomma, per cui occhio ai termini: si trovano i dettagli aggiornati andando su crazy time se ti interessa approfondire. Sui prelievi va abbastanza bene. Uso Neteller e l'accredito arriva in 12-24 ore, con la carta serve 3 giorni buoni. Accettano anche crypto, ma non le ho provate. Si parte da 10€, registrazione in tre minuti. Quello che proprio non mi e piaciuto e stata la fase documenti: mi hanno rifiutato la bolletta due volte per una sciocchezza. L'assistenza su Crazy Time ti risponde in italiano ed e gia qualcosa, va detto che nelle ore piccole i tempi si allungano. Da telefono gira liscio dal browser, l'applicazione c'e per Android va, ma preferisco il sito. Sulla licenza Malta Gaming Authority, non e ADM, cosa che a qualcuno non va giu. Per ora resto, senza aspettarmi miracoli.

Ajoutez un commentaire :