You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, March 28th 2018, 10:24am

Share 360 view to Facebook

Hi all,

I have built a HTML5 web contain a 360 view, is that possible to share this 360 view to Facebook with hotspot? Found that some articles said is better to share it as SWF object, if true, may I know how can I generate a SWF file dynamically in server in order for sharing to FB? Please advise if I am on the right direction.

Thanks for advance

2

Thursday, March 29th 2018, 4:50pm

It's possible. And not only swf (so better not to do). You need to use a plugin for FB Static Tabs from WOOBOX.

3

Wednesday, April 4th 2018, 6:37am

Thanks for reply. Instead of using external library, can I use a dynamic HTML+PHP code to share FB?

Tried:

Source code

1
2
3
4
<meta content="VIRTUAL_TOUR_TITLE | Virtual tour generated by Panotour and Livepano" property="og:title"></meta><meta content="VIRTUAL_TOUR_DESCRIPTION" property="og:description" /></meta><meta content="AUTHOR_NAME" name="Author"></meta><meta content="COPYRIGHTS" name="copyright"></meta>
<meta content="http://URL/PATH/VIRTUAL_TOUR_NAME.html" name="url"></meta><meta content="http://URL/" property="og:site_name"></meta><meta content="PATH/" name="directory"></meta><meta content="http://URL/PATH/VIRTUAL_TOUR_NAME.html" property="og:url"></meta><meta content="article" property="og:type"></meta>
<link href="http://URL/PATH/VIRTUAL_TOUR_DATA_DIRECTORY/thumbnail.jpg" rel="image_src"></link><meta content="http://URL/PATH/VIRTUAL_TOUR_DATA_DIRECTORY/thumbnail.jpg" property="og:image"></meta><meta content="https://URL/PATH/VIRTUAL_TOUR_DATA_DIRECTORY/thumbnail.jpg" property="og:image:secure_url"></meta>
<meta content="http://URL/PATH/VIRTUAL_TOUR_DATA_DIRECTORY/VIRTUAL_TOUR_NAME.swf?xml=http://URL/PATH/VIRTUAL_TOUR_DATA_DIRECTORY/VIRTUAL_TOUR_NAME.xml" property="og:video"></meta><meta content="https://URL/PATH/VIRTUAL_TOUR_DATA_DIRECTORY/VIRTUAL_TOUR_NAME.swf?xml=https://URL/PATH/VIRTUAL_TOUR_DATA_DIRECTORY/VIRTUAL_TOUR_NAME.xml" property="og:video:secure_url"></meta><meta content="application/x-shockwave-flash" property="og:video:type"></meta>      <meta content="480" property="og:video:height"></meta><meta content="640" property="og:video:width"></meta>



But no lucky, anything missed?