687242 vues

Twitter Cards

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

26729 Commentaire(s)
  1. user
    mostbet_ermn
    11/03/2026 à 14h27  commentaire modifé
    mostbet apk bonus https://mostbet53160.help/

  2. user
    скачать бк мелбет
    11/03/2026 à 14h16  commentaire modifé
    мелбет скачат Установить приложение Melbet: APK, iPhone и ПК Мобильная версия Melbet объединяет букмекерскую контору и казино в едином приложении. Пользователю доступны live-ставки, казино-игры, прямые трансляции, статистика и быстрые финансовые операции. Установка занимает несколько минут. Android (APK) Загрузите APK с официального сайта, запустите установщик и завершите установку. При необходимости включите разрешение на установку из неизвестных источников, затем авторизуйтесь. iOS (iPhone) Перейдите в App Store, найдите «Melbet», нажмите «Получить», после установки выполните вход. ПК Перейдите официальный сайт, войдите в личный кабинет и добавьте ярлык на рабочий стол. Браузерная версия функционирует как отдельное приложение. Функционал Live-ставки с мгновенным обновлением линии, игровой раздел с тысячами игр, просмотр матчей, подробная статистика, push-оповещения, регистрация за минуту и поддержка 24/7. Бонусы После установки доступны бонус на первый депозит, промокоды и фрибеты. Правила начисления определяются регионом. Безопасность Скачивайте только с официальных источников, проверяйте домен, не сообщайте данные доступа третьим лицам и активируйте двухфакторную аутентификацию. Загрузка выполняется быстро, после чего доступен весь функционал Melbet.

  3. user
    мелбет фрибет
    11/03/2026 à 14h08  commentaire modifé
    скачать бк мелбет на андроид Установить приложение Melbet: APK, iPhone и ПК Приложение Melbet включает букмекерскую контору и казино в едином приложении. Доступны live-ставки, слоты, прямые трансляции, аналитика и операции по счёту. Загрузка занимает 1–2 минуты. Android (APK) Скачайте APK с официального сайта, запустите установщик и завершите установку. При необходимости включите доступ к установке сторонних приложений, затем войдите в аккаунт. iOS (iPhone) Откройте App Store, введите в поиске «Melbet», нажмите «Получить», после установки авторизуйтесь в системе. ПК Перейдите официальный сайт, авторизуйтесь и создайте ярлык на рабочий стол. Браузерная версия функционирует как отдельное приложение. Функционал Live-ставки с мгновенным обновлением линии, казино и слоты, просмотр матчей, подробная статистика, уведомления о матчах, быстрая регистрация и круглосуточная служба поддержки. Бонусы После загрузки доступны приветственный бонус, промокоды и фрибеты. Условия зависят от региона. Безопасность Скачивайте только с официального сайта, проверяйте домен, не сообщайте данные доступа третьим лицам и активируйте двухфакторную аутентификацию. Загрузка выполняется быстро, после чего открывается полный доступ Melbet.

  4. user
    промокод на мелбет при регистрации
    11/03/2026 à 13h48  commentaire modifé
    работающее зеркало мелбет Скачать Melbet: APK, iOS и компьютер Мобильная версия Melbet объединяет букмекерскую контору и казино в одном интерфейсе. Доступны live-ставки, казино-игры, прямые трансляции, аналитика и быстрые финансовые операции. Установка занимает несколько минут. Android (APK) Загрузите APK с официального сайта, откройте файл и завершите установку. Если требуется включите доступ к установке сторонних приложений, затем авторизуйтесь. iOS (iPhone) Откройте App Store, найдите «Melbet», выберите «Получить», после установки авторизуйтесь в системе. ПК Перейдите официальный сайт, авторизуйтесь и добавьте ярлык на рабочий стол. Браузерная версия функционирует как отдельное приложение. Функционал Live-ставки с мгновенным обновлением линии, казино и слоты, просмотр матчей, аналитические данные, уведомления о матчах, быстрая регистрация и круглосуточная служба поддержки. Бонусы После загрузки доступны приветственный бонус, промокоды и бесплатные ставки. Условия зависят от региона. Безопасность Загружайте только с официальных источников, контролируйте адрес сайта, не сообщайте данные доступа третьим лицам и включите 2FA. Загрузка выполняется быстро, после чего доступен весь функционал Melbet.

  5. user
    rufus
    11/03/2026 à 13h37  commentaire modifé
    rufus download Rufus is known as a compact, no-cost, open source utility created to make bootable USB drives. It allows you to prepare a USB flash drive that can install an operating system, launch diagnostic tools, or boot into a recovery environment. The program requires no installation and can be launched as soon as it is downloaded. The primary purpose of Rufus is to create bootable USB media from ISO images quickly and reliably. This lets people install or run operating systems directly from a USB flash drive without the need for DVDs. The tool works with a large number of operating systems and service utilities, which makes it practical for both regular users and system administrators. Rufus works on computers with Microsoft Windows, starting from Windows 7. Both 32-bit and 64-bit versions are supported, and there is also a version available for ARM64 architecture. The software allows users to create bootable USB drives from many different ISO images. It can be used to prepare a USB drive for installing Windows 11, Windows 10, Windows 8.1, or Windows 7, as well as various Linux distributions. Rufus also works with DOS systems and other recovery or maintenance tools commonly used for troubleshooting computers. One of the included features of Rufus is the ability to download official Windows ISO images directly from Microsoft servers. This allows users to obtain original installation images for Windows 8.1, Windows 10, and Windows 11 without searching for them on third-party websites. In addition to creating bootable drives, Rufus can format USB devices. It supports several file systems including FAT32, NTFS, exFAT, UDF, and ReFS. This flexibility allows the USB drive to be prepared for different use cases and compatibility requirements. Rufus supports both legacy BIOS systems and modern UEFI environments. Because of this, bootable drives created with Rufus can work on older computers as well as newer systems that use UEFI and Secure Boot. Another feature included in Rufus is Windows To Go support. This option allows users to run a full Windows environment directly from a USB drive. It can be useful for testing systems, performing maintenance, or working on multiple computers without installing Windows on the internal drive. Rufus also provides the option to bypass certain Windows 11 installation requirements. When creating an installation USB, the program can disable checks for TPM 2.0, Secure Boot, and minimum RAM requirements. This makes it possible to install Windows 11 on computers that would otherwise not meet the official hardware requirements. One of the reasons Rufus has become popular is its speed and simplicity. The program is extremely small, about 1.9 MB in size, and runs as a portable application without installation. It is distributed under the GPL v3 open-source license, supports more than 70 languages, and contains no advertisements, bundled software, or tracking components. Rufus works with a large number of ISO images. These include multiple versions of Windows, Windows Server editions, FreeDOS, and various system tools such as GParted, Hiren’s Boot CD, Parted Magic, and Clonezilla. Because of this wide compatibility, the program can be used not only for installing operating systems but also for disk management, data recovery, and system maintenance tasks. To use Rufus, a computer running Windows 7 or later and a USB flash drive are required. The program does not need to be installed. Users simply download the executable file, run it, select the ISO image they want to use, and create a bootable USB drive. Due to its simplicity, speed, and reliability, Rufus remains one of the most widely used tools for creating bootable USB drives.

Ajoutez un commentaire :