62886 vues

Twitter Cards

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

1492 Commentaire(s)
  1. user
    Sworway
    07/09/2024 à 13h33  commentaire modifé
    Can I get a refund if my order is delayed or lost during shipping 100 mg viagra reviews?

  2. user
    AncrReert
    07/09/2024 à 12h39  commentaire modifé
    What happens if you ignore symptoms? Valuable treatment is available when you does sildenafil work for women online you save money and keep your privacy. It has the most visually appealing interface, is very easy to use, and provides the fastest results without sacrificing accuracy.

  3. user
    JesseRot
    07/09/2024 à 09h45  commentaire modifé
    The Importance of Resonance Control Apparatus in Machinery Across production settings, machinery and rotational equipment are the core of manufacturing. However, a of the most frequent concerns which may affect their operation along with lifetime is vibration. Oscillation could bring about a series of challenges, such as decreased accuracy as well as productivity to greater deterioration, finally bringing about costly interruptions as well as fixes. Such a situation is why resonance control tools becomes critical. Why Vibrations Mitigation is Important Vibration in equipment can bring about several adverse consequences: Decreased Functional Performance: Excessive resonance can lead to misalignment as well as distortion, lowering total effectiveness of the machinery. This might bring about slower production schedules and increased energy use. Greater Erosion: Persistent resonance accelerates the damage of equipment components, causing more frequent upkeep and an chance of unforeseen malfunctions. Such a scenario doesn't merely raises operating costs and reduces the lifespan for the systems. Safety Dangers: Unmanaged oscillation may bring major safety risks both to both the equipment and the equipment and the personnel. In, serious conditions, such vibrations might result in cataclysmic equipment failure, endangering personnel along with bringing about extensive destruction across the facility. Exactness and Quality Problems: For industries which depend on high precision, such as industrial sectors or aerospace, vibration could cause errors during the manufacturing process, leading to faulty goods as well as increased waste. Affordable Options for Vibration Regulation Investing in resonance control systems is not just necessary and a sound investment for any company dependent on equipment. We offer modern vibration regulation equipment are designed to intended to remove oscillation from any machinery or rotating machinery, ensuring uninterrupted along with efficient operations. What distinguishes these systems above the rest is its its cost-effectiveness. We understand the importance of cost-effectiveness in the current market, and for that reason we offer top-tier vibration regulation systems at pricing that remain budget-friendly. Through selecting our systems, you’re not only safeguarding your machines as well as increasing its performance as well as putting investment towards the long-term achievement of your company. Final Thoughts Oscillation control is an essential factor in ensuring the operational performance, safety, and lifetime of your industrial equipment. Through our economical vibration management tools, it is possible to ensure your operations run smoothly, your products remain top-tier, and your workers remain safe. Don’t let oscillation undermine your company—invest in the correct apparatus today.

  4. user
    JesseRot
    07/09/2024 à 08h18  commentaire modifé
    The Significance of Resonance Control Equipment in Mechanical Systems Across industrial contexts, machinery as well as turning devices are the core of production. However, an of the commonly prevalent challenges which can impede its efficiency as well as durability is vibration. Resonance could lead to a array of challenges, ranging from lowered perfection as well as efficiency leading to elevated erosion, in the end leading to pricey delays along with maintenance. This is when vibration management tools becomes essential. Why Vibration Management remains Important Vibration in machinery might cause multiple harmful impacts: Decreased Operational Efficiency: Excessive vibration can lead to imbalances as well as distortion, reducing total efficiency of the equipment. Such a scenario could result in slower production schedules and elevated energy use. Elevated Wear and Tear: Ongoing resonance speeds up total erosion in equipment components, bringing about more regular maintenance and an possibility of unexpected breakdowns. This not only increases operating costs and reduces the durability of the existing devices. Security Concerns: Uncontrolled vibration might introduce considerable security risks to both the equipment along with the operators. In severe cases, severe cases, such vibrations could result in catastrophic equipment breakdown, endangering personnel and causing extensive harm across the facility. Precision and Manufacturing Quality Problems: For fields that demand exact measurements, such as production as well as aerospace, oscillations can cause errors with the production process, leading to defective products as well as increased waste. Affordable Approaches for Vibration Control Putting money in vibration control apparatus proves not only a necessity but a sound investment for any company involved with machinery. Our advanced vibration management systems are intended to remove vibrations within any machinery or rotating equipment, ensuring smooth along with efficient operations. What distinguishes such tools apart is its reasonable pricing. We understand the necessity of affordability within the modern competitive marketplace, which is why our offerings include premium oscillation control tools at costs that are reasonable. By choosing our equipment, you’re not only securing your mechanical systems as well as enhancing its performance but also investing in the long-term performance in your organization. Conclusion Resonance mitigation is a necessary component of maintaining the efficiency, safety, and lifetime of your equipment. With our cost-effective oscillation control systems, one can be certain your processes run smoothly, all manufactured items maintain high quality, and your workers are protected. Never let oscillation compromise your machinery—invest in the appropriate systems now.

  5. user
    JesseRot
    07/09/2024 à 08h12  commentaire modifé
    vibration analysis The Significance of Oscillation Management Equipment in Industrial Equipment In manufacturing settings, machines and rotating equipment are the core of output. However, an of the most frequent problems that could affect the performance as well as lifespan exists as vibrations. Resonance may cause a range of problems, including reduced precision along with efficiency leading to increased deterioration, finally resulting in costly delays and fixes. Such a situation is when vibration control tools proves to be essential. Why Vibration Management remains Necessary Resonance in equipment may result in multiple detrimental outcomes: Reduced Production Efficiency: Excess vibration might lead to misalignment and instability, reducing the performance of the equipment. This can result in slower manufacturing speed as well as higher energy consumption. Elevated Damage: Ongoing resonance speeds up the deterioration to mechanical parts, causing additional servicing and an potential for unanticipated unforeseen malfunctions. This not only raises maintenance expenses but also reduces the lifespan for the devices. Safety Risks: Unmanaged resonance might pose substantial safety concerns both to both the machinery as well as the workers. In, extreme situations, it could result in cataclysmic machinery failure, endangering employees and resulting in widespread harm to the environment. Precision along with Quality Issues: For sectors that depend on high precision, such as manufacturing and aerospace, resonance may bring about errors during the manufacturing process, causing defects and increased waste. Economical Approaches to Vibration Regulation Putting money in vibration management tools remains not merely a necessity and also a sound investment for any business any organization that relies on machinery. Our cutting-edge vibration regulation equipment are designed to mitigate vibrations in various mechanical systems or rotational systems, ensuring uninterrupted and efficient functioning. One thing that sets these apparatus above the rest is its its cost-effectiveness. We understand the significance of cost-effectiveness within the competitive market of today, thus we have high-quality vibration control solutions at rates that are affordable. By choosing our offerings, you’re not only preserving your equipment and increasing its productivity but also putting resources in the long-term performance of your business. Conclusion Vibration management remains an essential component in ensuring the operational performance, safety, as well as durability of your equipment. With our affordable resonance mitigation apparatus, one can ensure your operations operate seamlessly, your products are of high quality, as well as your workers stay secure. Don’t let oscillation affect your operations—invest in the proper tools immediately.

Ajoutez un commentaire :