Meta Tag For Social Media

[Solved] Meta Tag For Social Media | Objectivec - Code Explorer | yomemimo.com
Question : adding meta social media tags

Answered by : literate-lentil

<!-- Essential META Tags -->
<meta property="og:title" content="European Travel Destinations">
<meta property="og:type" content="article" />
<meta property="og:image" content="http://euro-travel-example.com/thumbnail.jpg">
<meta property="og:url" content="http://euro-travel-example.com/index.htm">
<meta name="twitter:card" content="summary_large_image">
<!-- Non-Essential, But Recommended -->
<meta property="og:description" content="Offering tour packages for individuals or groups.">
<meta property="og:site_name" content="European Travel, Inc.">
<meta name="twitter:image:alt" content="Alt text for image">
<!-- Non-Essential, But Required for Analytics -->
<meta property="fb:app_id" content="your_app_id" />
<meta name="twitter:site" content="@website-username">

Source : https://css-tricks.com/essential-meta-tags-social-media/ | Last Update : Mon, 06 Jun 22

Question : adding meta social media tags

Answered by : literate-lentil

the bare minimum <meta> tags for sharing on social media:
<meta property="og:title" content="European Travel Destinations">
<meta property="og:type" content="article" />
<meta property="og:description" content="Offering tour packages for individuals or groups.">
<meta property="og:image" content="http://euro-travel-example.com/thumbnail.jpg">
<meta property="og:url" content="http://euro-travel-example.com/index.htm">
<meta name="twitter:card" content="summary_large_image">
// Reconciling the guidelines for the image is simple: follow Facebook’s recommendation of a minimum dimension of 1200×630 pixels and an aspect ratio of 1.91:1, but adhere to Twitter’s file size requirement of less than 1MB.
to test - Facebook Sharing Debugger and Twitter Card Validator.

Source : | Last Update : Mon, 06 Jun 22

Answers related to meta tag for social media

Code Explorer Popular Question For Objectivec