Sitebuilder plus: How to specify the image used by Facebook for shares and likes

  • 0
  • 1
  • Article
  • Updated 2 months ago
  • (Edited)
Note: We want to provide a few common and useful snippets for your use, but our support department is not able to assist you with editing code. They can help you with code placement.

If you want to specify what image is used when someone shares/posts/likes your website on Facebook you can add this snippet of code to the tag:

<meta property="og:image" content="http://www.domain.com/image.jpg"/>
Make sure you have already uploaded your image and published it.
Your picture will look best if it is square and at least 600 pixels wide
You just need to change the URL in the code to the address of the published image you want to use. In Sitebuilder Plus, the header area to add the code is located under Page Settings in the Advanced Settings.
After you've added the code there and published you will need to run your website URL through the Facebook Debugger so they will crawl the site and make the update.

Facebook Debugger

To clarify,  the code above will go into the Head section. Even if there's other code in there already, that is ok.  Just scroll to the bottom of the existing text/code and then paste in the new code.  You just need to edit the url in the code as shown below.

http://www.mydomain.com/facebooklogo.jpg <br>

Replace "mydomain.com" with your actual domain name, and then also replace "facebooklogo.jpg" with the actual image file name of the image that you wish to use.  You will have to be sure that the image is published in the File Manager also.

Photo of Homestead FAQ

Homestead FAQ, Employee

  • 42,626 Points 20k badge 2x thumb

Posted 2 months ago

  • 0
  • 1

Be the first to post a reply!