facebook share button not working

Q&A about the latest versions
Post Reply
AZ ChopperCam
Posts: 50
Joined: Tue Jan 22, 2008 4:17 am

Tried out the new html5 template for social network embedding. Love it! Saves me plenty of time now!

But... I can't get the share button in the skin to work. I created a button and added a 'go to url' action and pasted

"javascript:window.open('https://www.facebook.com/sharer/sharer.php?u=' + location.href);"

But it doesn't appear to work. Goes to facebook, then a 'page not found' error. See here:

http://www.aerialsphere.com/spheres/ari ... /kierland2
DJ Vegh
Aerial Sphere
Mesa, AZ
http://www.aerialsphere.com
User avatar
JimWatters
Posts: 329
Joined: Thu Oct 07, 2010 6:16 pm
Location: Saint John, New Brunswick
Contact:

Looks like you must have figured it out. The link worked for me.

Next you need to set your self up with a secure website so the pano can be embedded into your Facebook's timeline. Your hosting company should be able to tell you what options you have for this.
AZ ChopperCam
Posts: 50
Joined: Tue Jan 22, 2008 4:17 am

Thanks! it's working now.

Also, we got with our host and they have put us on a secure server. :)
DJ Vegh
Aerial Sphere
Mesa, AZ
http://www.aerialsphere.com
mosleyh
Posts: 9
Joined: Fri May 09, 2014 11:55 am

I got my site set up for HTTPS and have been slowly figuring out how to use the FB template correctly. I figured out how to configure it properly with one exception.

The Facebook debugger kept returning a redirect path circular reference error until I (manually)changed the property <meta property="og:url" content= from the HTTP URL to the HTTPS URL. Once that is changed the debugger passes it with no errors. Am I doing something wrong or is that something that needs to be fixed in the software?
Screen Shot 2014-08-03 at 4.45.18 PM.png
Screen Shot 2014-08-03 at 4.45.18 PM.png (23.39 KiB) Viewed 5128 times
mosleyh
Posts: 9
Joined: Fri May 09, 2014 11:55 am

I found another issue. After I share the URL, and press the play button in the middle of the image, all I see is white - the panorama doesn't appear. Any ideas?
User avatar
JimWatters
Posts: 329
Joined: Thu Oct 07, 2010 6:16 pm
Location: Saint John, New Brunswick
Contact:

You did not provide enough of the URL to look at your site to see what is wrong.

In the Facebook Debugger use the non secure URL the warning should go away.

With Firefox you can use the Developer tool, Console and reload the page to see if there are any 404 errors.

Check to see if you copy and paste the "og:video:secure_url" into the browser that it also works.
mosleyh
Posts: 9
Joined: Fri May 09, 2014 11:55 am

Sorry - I changed the path late last night - the debugger was being, well, buggy.

I think the white screen issue was my fault - I changed the name of the flash player in the droplet and thought that the HTML would be written to point to it. I see now that the HTML is written with the default name for the player.

The current URL is https://lookaroundgreenville.com/VR/NOMA_S/VR.html

Here's what I get when I use the HTTP URL in the debugger w/o changing the og:URL property to HTTPS
Screen Shot 2014-08-04 at 7.29.09 AM.png
Screen Shot 2014-08-04 at 7.29.09 AM.png (31.28 KiB) Viewed 5113 times
After I made that change plus the flash player fix, everything works perfectly and shows no errors in the debugger.
User avatar
JimWatters
Posts: 329
Joined: Thu Oct 07, 2010 6:16 pm
Location: Saint John, New Brunswick
Contact:

You have a redirect on your site that points all http:// to https://
I think because of that you need the URL to also be https

Glad you got it working.
User avatar
hum@no.id
Posts: 945
Joined: Sat Sep 09, 2006 10:35 pm
Location: Dark side of the Moon
Contact:

I use a Share buttons has separate... it suits me
http://astanacapital.com/index.php?fullarticle=19
Gumir J | VR Panoramic Photographer | mobile: +77055717171 | skype: gumirj
website: gumirj.com | google.com/+gumirj | facebook.com/gumirj | twitter.com/gumirj
Post Reply