Screenshot for Facebook post

07 September 2016 10:26
I would like to share in Facebook some stuff I made with Blend4Web.

Currently it shows just a link and no image which is not attractive.
An option to add an image to Blend4Web output in Facebook readable form would be nice.
07 September 2016 16:16
Hi Nils,

This can be done if you add something like this

<meta property="og:image" content=""/>

in your HTML file.
The Founder | Twitter | Facebook | Linkedin
08 September 2016 09:53

It worked when I replaced corresponding line in webplayer.html

I also tried iframe version to keep the url simpler.
This way the image does not appear in FB post.
Is there a way in this case without actually putting visible image into my hubble.html?
08 September 2016 12:20
In the second version you used
<head/><meta property="og:image" content=""/>

This effectively puts this meta tag outside the head of the HTML document.
Try something like this:
<meta property="og:image" content=""/>
The Founder | Twitter | Facebook | Linkedin
Please register or log in to leave a reply.