I know that adding <meta property="og:image" content="<URL-HERE>" /> to an HTML page makes it generate a thumbnail image when sharing the URL on Facebook:

How to have the same with Twitter?

How should I modify my HTML page to have an image automatically added when I share an URL in a tweet?

<meta property="twitter:image" content="<URL-HERE>" />

You can use this meta tag for twitter. For more informations see here: https://dev.twitter.com/cards/markup


Put https://2fb.me before the URL

I.E https://2fb.me/https://twitter.com/shareU/status/936789197456777217

and share the URL

  • So this would share an URL on Twitter through FB?
    – Basj
    Dec 2 '17 at 9:27
  • no the opposite. It shares to facebook from twitter.
    – Chamilyan
    Dec 2 '17 at 21:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.