Facebook like button

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Re: Facebook like button - 404 page

Postby jasonJM » Wed May 08, 2013 2:03 am

Hello,

I am having problems with the Facebook like functionality from my site. I have tried using the Facebook Like extension, a straight facebook like link (code generated from facebook dev site) and the sociable extension. In every circumstance the like action results in the "404 - Page not found" page being liked. I have tried hard coding the url, etc but still no joy.

FYI - I have the extensions coded into my sidebar (just incase that makes a difference).

At the moment I have all three methods on the site (only to demonstrate the problem) and you can see it at http://www.argonautcyclecoaching.com/ (located at bottom of sidebar on the right).

If anyone could provide assistance in how I can get the facebook like functionality working properly would be greatly appreciated.

regards

Jason
jasonJM
 
Posts: 31
Joined: Mon Oct 17, 2011 7:38 am

Re: Facebook like button

Postby Harm10 » Wed May 08, 2013 8:18 pm

The facebook developer's lint shows some errors:
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.argonautcyclecoaching.com%2F
These errors could influence the Like processing.

BTW your page also shows errors for the downloadable fonts you are trying to use. See the error console.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Facebook like button

Postby jasonJM » Wed May 08, 2013 8:40 pm

Thanks Harm,

I got this working last night after some advice on adding the og meta tags. Now just need to fix my image file and it should be fine.

Re the custom fonts - thanks for picking that up. Will check it out later today.

Many thanks

Jason
jasonJM
 
Posts: 31
Joined: Mon Oct 17, 2011 7:38 am

Re: Facebook like button

Postby Harm10 » Wed May 08, 2013 10:02 pm

jasonJM wrote:I got this working last night after some advice on adding the og meta tags. Now just need to fix my image file and it should be fine.

Well I just tested it (with og meta tags in the page source) and it still showed up on FB as 404. You need to have the fb_admin tag there I think.

Also be aware that your mail address is readable in the source. Use the link tag together with encrypt to avoid that
http://book.pivotx.net/index.php?page=app-b#anchor-link
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Facebook like button

Postby Plox » Thu Mar 20, 2014 5:09 pm

Hello, I managed to get this working but I have some questions about this,

- is it possible to have a share button? I only see the like button.

- I would like a like button for the website and a share button for the indivudual posts, how can I accomplish this?

Thanks in advance!
Plox
 
Posts: 6
Joined: Sat Mar 08, 2014 7:31 am

Re: Facebook like button

Postby Harm10 » Thu Mar 20, 2014 5:28 pm

The share option is in another extension: Sociable http://extensions.pivotx.net/entry/12/sociable
Its lay-out is somewhat different but the FB part is a share option.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Previous

Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 4 guests