Course image thumbnail for Facebook posts

Oct 04, 2019

Hi all! Does anyone know what sort of voodoo magic you have to do in order to make Facebook automatically pull in a a thumbnail image from your course files when you post the link to Facebook? (I know you can add an image to the post as a separate step, but I'm not crazy about that because when users click on that image it just opens up the larger version of the image, rather than link them to the course.) I've googled a bit on this and am not coming up with anything. 

2 Replies
Phil Mayor

I don't think you can do it without manually selecting it. Facebook should pull an image from a URL when you post it but it is flakey even with normal websites. With a Storyline course I struggle to take a screenshot in javascript because the course is rendered in many layers, unless it was set up to do it I don't think Facebook will manage it.

Jeanette Brooks

Thanks so much for replying, guys!! I'm getting closer! 

Matthew: the link you shared got me pointed in the right direction. I drilled a little further into the FB developers stuff and ended up at this page:

https://developers.facebook.com/docs/sharing/webmasters#markup

...which helped me write the exact tags I needed to add to my course's index.html. I've almost got things working the way I want.

My only hitch now is that my feature image is an animated gif, yet it's showing as a static image when I scrape the page in the debugger or post it live on FB - even when I specify the og:image:type tag as "gif".  I did find this guy's solution which sort of works... it causes the gif to show as animated in the FB post, but the downside is, the image is no longer clickable (users have to click on the link in the text of the post to go to the course). 

This discussion is closed. You can start a new discussion or contact Articulate Support.