No HTTPS on template:embed_p2vr.ggt

Q&A about the latest versions
Post Reply
sparrow
Posts: 67
Joined: Thu Aug 04, 2016 12:44 pm

Hi guys

I'm trying out the social sharing template called embed_p2vr.ggt and as some of you may know, some of the social platforms require the content to be delivered from a HTTPS site.

Luckily, there is a checkbox for this if you visit the HTML panel and click the Edit Template button.
I add my hostname as my-domain.com and check the Include Secure Hosting checkbox.

When I export my project and view source, the various META Tags don't seem to include the secure hosting setting I checked.

IE the domain starts with http://my-domain.com/etc instead of https://my-domain.com/etc

Code: Select all

<meta property="og:image" content="http://my-domain.com/path-to-folder/output/preview.jpg" />
<meta property="og:image:secure_url" content="http://my-domain.com/path-to-folder/output/preview.jpg" />
<meta name="twitter:image:src" content="http://my-domain.com/path-to-folder/output/preview.jpg" />
<meta itemprop="image" content="http://my-domain.com/path-to-folder/output/preview.jpg" />
Is this a bug or am I overlooking something?
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi sparrow,
It does not put in the https, here is a link to a Facebook test project on my server.

Code: Select all

http://hopki360.com/facebook/madinat/pano.html
If you copy and paste in your browser you can then see the page source and the meta data.
Personally I don't embed anymore as Facebook can only use the Flash output and browsers now as for the plugin to be activated or you need to install it.

What is better is to use the embed template but to show a preview image in the Facebook time line that when clicked opens a new page with the HTML5 pano.
Example:

Code: Select all

http://hopki360.com/facebook_preview/index.html
This does not require any secure servers or anything like that.

Using the transformation output make your preview image which should be a 800 x 420px JPG, set the file path to the same folder as your pano.
Now under the HTML5 output select the embed_pano2vr.ggt
In the templates settings select: Fullscreen
Under Social sites setting:, add your host without the http:// or www. bit, example: hopki360.com
Page path is the output folders name, example: output
Then select your Preview image

Upload to your server, the copy and paste the URL into the Facebook post.
You will see the link and then preview image. When you see the preview image you can remove the link text as the image will be clickable.
So you end up with a Facebook post with a nice preview image that opens your HTML5 tour.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
sparrow
Posts: 67
Joined: Thu Aug 04, 2016 12:44 pm

Thanks Hopki

I agree that it seems better to link out to your website etc rather than try to embed the tour.

That works fine and Facebook is picking up the preview image and title etc from the META data.

I don't know why FB wasn't picking up the preview image previously but it's working now.

Thanks for your help. :)
Post Reply