Forums

menu

Forum

Adding a TOTECS website to a facebook post
Author
Thread
Adding a TOTECS website to a facebook post
Author Glenn Drew
October 23 2017 @ 09:04 PM
Thread When I share a website running on TOTECS on a facebook post, I want to specify the image logo and title. Is this possible?


TOTECS CEO
Comments
Glenn Drew
October 23 2017 @ 09:13 PM
TOTECS CEO
I found my answer and it can be done.

Go into the Administration Centre > Websites and expand the website. Click into Web Page Templates and in the <HEAD> tag of each, add the following code:
 <meta property="og:type" content="website" />
 <meta property="og:image" content="http://[your domain]/libraries/images/master/logo.png" />
 <meta property="og:image:secure_url" content="http://[your domain]/libraries/images/master/logo.png" />

Be sure to set your image URL to match the library where you have uploaded your image.

You can set the Title and Description through:
 <meta property="og:title" content="[place title here]" />
 <meta property="og:description" content="[place description here]" />

When you have set these, you must refresh the facebook cache by entering your website URL at https://developers.facebook.com/tools/debug and click on the Scrape Again button. If it doesn't update immediately, try again a few times. if not then, check your image URL works.

Test it by logging into Facebook and enter your full URL in the Post editor. You should see your recached data.

Comment has been marked as the answer

Hello! Register or login to become part of the discussion