700319 vues

Twitter Cards

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

26916 Commentaire(s)
  1. user
    1xbet giris_guKi
    22/10/2025 à 22h52  commentaire modifé

  2. user
    pincoua
    22/10/2025 à 22h47  commentaire modifé
    Matç öncəsi statistik blokda komanda forması, H2H və zədəlilər siyahısı toplanıb. Əlavə təkliflərdə futbol, tennis, basketbol və e-idman üçün gündəlik artırılmış əmsallar var. Lokal ödənişlər və AZN balansı üçün pinco az bölməsinə keçin, limitsiz canlı mərc rahatdır. Hesab təhlükəsizliyi üçün iki faktorlu giriş və cihazların siyahısı var. Slot seçimi provayderə, volatiliteyə və RTP aralığına görə filtrlənir. Yeni oyunçular üçün təlimat məqalələri sadə dildə yazılıb, ekran görüntüləri kömək edir. Məlumat sərfiyyatını azaltmaq üçün axın keyfiyyətini ayarlardan endirmək olar. Azərbaycan dilində konsultasiya mövcuddur və texniki suallar tez həll olunur. Özünü istisna etdikdən sonra dəstək geri aktivləşdirməni minimum 24 saatdan əvvəl etmir. Reytinqlər və istifadəçi rəyləri ən faydalı bölmələri tapmağa imkan verir.

  3. user
    pincoua
    22/10/2025 à 22h34  commentaire modifé
    Matç öncəsi statistik blokda komanda forması, H2H və zədəlilər siyahısı toplanıb. Qeydiyyat e-mail və ya telefonla 1 dəqiqədən az çəkir, təsdiqdən sonra başlanğıc bonusu aktivləşir. Futbol əmsallarını canlı izləmək və sürətli kupon qurmaq üçün pinco casino sınayın; pinco az oyunçuları üçün bonuslar rahat aktivləşir. Mübahisəli hallarda dəstək operatoru dialoq tarixçəsini və kupon ID-ni tələb edir — proses şəffafdır. Provayder səhifələrində kolleksiya və paylama tezliyi haqda icmallar var. Futbol üçün xG, şans yaradıcılığı və pressinq göstəricilərinə baxmaq faydalıdır. APK yenilənməsi tətbiqdaxili xəbərdarlıqla gəlir və bir dəqiqəyə tamamlanır. Şikayət forması və cavab müddətləri xidmət qaydalarında göstərilib. Valideyn nəzarəti üçün marşrutlar və məsləhət linkləri toplanıb. Kampaniya təqvimi bonusları planlaşdırmağa və maksimum fayda götürməyə imkan verir.

  4. user
    drone_nwOa
    22/10/2025 à 22h31  commentaire modifé
    Recently the company light show drones put on an amazing performance that amazed all the spectators. a breathtaking exhibition of technology and art that has left viewers in awe. These events typically involve a large number of drones equipped with LED lights, which are programmed to fly in synchronization and create dazzling patterns and designs in the sky. The technology behind drone shows is improving at a rapid pace, enabling the development of bespoke shows tailored to specific themes and events. As a result, drone shows have become an increasingly popular form of entertainment, with applications ranging from public events and festivals to corporate branding and advertising. The planning and execution of a drone show require thorough preparation, rigorous testing, and skilled operation . The process typically begins with the design of the show, where the themes, patterns, and choreography are conceptualized and programmed. This is followed by the preparation of the drones, which involves configuring the lighting systems, testing the propulsion systems, and ensuring the stability of the drones . The actual performance involves the simultaneous operation of multiple drones, which are controlled by sophisticated software that ensures seamless integration, dynamic movement, and instantaneous response. Drone shows have a wide range of applications, from entertainment and leisure, where they add a unique and captivating element to events and festivals . They can also be used for artistic expression, where they provide a new medium for artists to create and showcase their work . Furthermore, drone shows can be customized to fit specific themes and events, such as weddings and corporate events. The versatility and creativity of drone shows have made them an attractive option for event planners, who are looking for innovative and memorable ways to engage their audiences . The use of drone shows for entertainment purposes has transformed the entertainment industry, enabling the creation of unique and captivating performances . Drone shows can be integrated with other forms of entertainment, such as fireworks, laser shows, and concerts . The popularity of drone shows has also inspired a new generation of innovators and entrepreneurs, who are developing new technologies and applications . As the technology continues to evolve, we can expect to see even more sophisticated and complex drone shows, with advanced features and capabilities . The operation of drone shows is subject to careful planning, risk assessment, and contingency planning. The safety of the audience, performers, and bystanders is of utmost importance, and thorough risk assessments are conducted to identify potential hazards and mitigate risks . The regulatory framework for drone shows is improving, with greater clarity and consistency in regulatory frameworks. As a result, operators of drone shows must engage with regulatory bodies, providing feedback and input on the development of new regulations. The environmental impact of drone shows is also a major factor, with operators taking steps to reduce their carbon footprint and environmental footprint. The use of drones for entertainment purposes has highlighted the need for sustainable and responsible practices in the entertainment industry . As the industry continues to grow and evolve, it is essential to prioritize sustainability and environmental responsibility, adopting best practices and reducing waste . By doing so, the drone show industry can ensure a sustainable future, minimizing its impact on the environment . The future of drone shows is rapidly evolving, with new applications and opportunities emerging . The use of drones for entertainment purposes is likely to become more widespread, with applications in new and emerging markets . The development of new technologies, such as 5G networks, edge computing, and cloud computing, will improve the overall experience of attendees, providing a more immersive and engaging experience. As the industry continues to evolve, we can expect to see increased adoption of drone shows, as they become more accessible and affordable. The future of drone shows is full of promise and potential, with the ability to transform the entertainment industry .

  5. user
    MichaelBorge
    22/10/2025 à 22h25  commentaire modifé

Ajoutez un commentaire :