Support Center

How do I change the image that is shared on social media?

Last Updated: May 10, 2016 10:44AM EDT

Overview


When your ambassadors share their referral link to social media sites via the portal share widget or Refer-a-Friend widget, an image will be pulled into the post automatically. If you want to set or change the image that is shared, you’ll need to utilize open graph meta tags on your site. 


How do I set the image that is shared?


Using open graph meta tags, you can tag the image you want pulled into the social site. An example of how you can tag your image is included below, you will need to replace “https://pathtoyourimage.jpg” with a link to your desired image. 
 
<!-- 1200x1200 Image for Facebook -->
<meta property="og:image" content="https://pathtoyourimage.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="1200" />

<!-- 150x150 Image for Linkedin -->
<meta property="og:image" content="https://pathtoyourimage.jpg" />
<meta property="og:image:width" content="150" />
<meta property="og:image:height" content="150" />

<!-- 120x120 Image for Twitter -->
<meta name="twitter:image" content="https://pathtoyourimage.jpg" />
  

Can I preview the post image?


On Facebook, you can utilize the Sharing Debugger to preview how the image will look when shared. Please note, we recommend using this any time you tag a new Facebook Open Graph image. 

 

 
If you have additional questions, we suggest checking out this external resource, Open Graph Protocol, for more information. 



Other support articles you may be interested in:




 

Contact Us

a933d3def09d8f929161f2d5ddb7b741@ambassador.desk-mail.com
http://assets2.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete