The new Facebook like button

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Ideas Centre
Locked
plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: The new Facebook like button

Post by plasmino » Tue Jun 01, 2010 3:47 pm

elipoarch wrote:Thanks for your help, Plasmino, but no luck. I have the same problem.

replace

<fb:like href="http://www.sfc-em-investigacion.com/vie ... S_TOPIC_ID}" layout="standard" show_faces="true" width="350" action="like" colorscheme="light" /></td>

with

<fb:like href="http://www.sfc-em-investigacion.com/vie ... S_TOPIC_ID}" layout="standard" show_faces="true" width="350" action="like" colorscheme="light" /></td>

elipoarch
Registered User
Posts: 21
Joined: Wed Dec 02, 2009 10:22 am

Re: The new Facebook like button

Post by elipoarch » Tue Jun 01, 2010 5:24 pm

plasmino wrote: replace

<fb:like href="http://www.sfc-em-investigacion.com/vie ... S_TOPIC_ID}" layout="standard" show_faces="true" width="350" action="like" colorscheme="light" /></td>

with

<fb:like href="http://www.sfc-em-investigacion.com/vie ... S_TOPIC_ID}" layout="standard" show_faces="true" width="350" action="like" colorscheme="light" /></td>
No change. I even thought about changing back the page title (just in case) but of course that is not the problem. This is so strange... :?

elipoarch
Registered User
Posts: 21
Joined: Wed Dec 02, 2009 10:22 am

Re: The new Facebook like button

Post by elipoarch » Tue Jun 01, 2010 11:14 pm

Never mind! The gremlins :twisted: must have done their work, because the button works again. :shock:

I still have one problem, though. On Facebook, it doesn't reflect the title of the thread correctly. It just names my forum and then it says "information", but not the subject.

This is what it says in my overall_header.php:
<title>SFC/EM investigacion &bull;{PAGE_TITLE}</title>

I've also tried:
<title>SFC/EM investigacion &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

Either way,
On my browser tab, my page title shows: "SFC/EM investigacion · Ver Tema - Biomarcadores para SFC" (the topic title)
On Facebook: "Eli likes... SFC/EM investigacion · Información. "

Any ideas?

plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: The new Facebook like button

Post by plasmino » Wed Jun 02, 2010 12:08 am

you have setting permission the bots read in that forum?

flubberman
Registered User
Posts: 33
Joined: Tue May 18, 2010 11:07 am

Re: The new Facebook like button

Post by flubberman » Wed Jun 02, 2010 7:31 am

FYI: Facebook had a major problem with Like Buttons yesterday which is now fixed

elipoarch
Registered User
Posts: 21
Joined: Wed Dec 02, 2009 10:22 am

Re: The new Facebook like button

Post by elipoarch » Wed Jun 02, 2010 6:03 pm

So that was the problem!!! They could have chosen a different day to mess it up that the one I chose to modify my forum :lol: !!! I simply couldn't understand what had I done to mess up something that worked before!! :lol:

Still, I need help with the link, as it is shown in FB, because it doesn't reflect the title of the thread, so every "I like" action says exacty the same thing on my facebook profile, people will think I've gone crazy clicking the "I like" button, or maybe that I've got Parkinson's disease!

User avatar
Badkat
Registered User
Posts: 4
Joined: Wed Apr 07, 2010 5:06 pm
Location: Chicago, IL
Contact:

Re: The new Facebook like button

Post by Badkat » Thu Jun 03, 2010 6:10 pm

Just reading through the posts here, and this is an excellent idea. If you can't beat Facebook, join them. Well done!

elipoarch
Registered User
Posts: 21
Joined: Wed Dec 02, 2009 10:22 am

Re: The new Facebook like button

Post by elipoarch » Fri Jun 04, 2010 9:42 am

Any idea about why the title of my threads don't show in Facebook?

Check my earlier posts please!

flubberman
Registered User
Posts: 33
Joined: Tue May 18, 2010 11:07 am

Re: The new Facebook like button

Post by flubberman » Sun Jun 06, 2010 8:37 pm

elipoarch wrote:Any idea about why the title of my threads don't show in Facebook?

Check my earlier posts please!
I have exactly the same problem as well.

Hopefully someone will get a solution

flubberman
Registered User
Posts: 33
Joined: Tue May 18, 2010 11:07 am

Re: The new Facebook like button

Post by flubberman » Tue Jun 08, 2010 1:00 pm

Gentle bump for anyone who may have missed it.

elipoarch
Registered User
Posts: 21
Joined: Wed Dec 02, 2009 10:22 am

Re: The new Facebook like button

Post by elipoarch » Tue Jun 08, 2010 1:27 pm

Yes, I wish someone would check this out... Thanks

flubberman
Registered User
Posts: 33
Joined: Tue May 18, 2010 11:07 am

Re: The new Facebook like button

Post by flubberman » Thu Jun 10, 2010 9:37 pm

elipoarch wrote:Yes, I wish someone would check this out... Thanks
I spoke with someone who knows a bit about this.

They said we need to ensure that we have the following in the Overallheader

<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}" xmlns:fb="http://www.facebook.com/2008/fbml">

also

need to set the og: meta tags

http://developers.facebook.com/docs/opengraph

I've not had time to play yet but I thought I would pass this onto you in case you have time to test.

I hope it works for you.

elipoarch
Registered User
Posts: 21
Joined: Wed Dec 02, 2009 10:22 am

Re: The new Facebook like button

Post by elipoarch » Thu Jun 10, 2010 10:57 pm

I'll try it out tomorrow and comment the results here.

Thanks a lot Flubberman! I hope this works out.

PTRACER
Registered User
Posts: 166
Joined: Sun Dec 07, 2003 2:54 am

Re: The new Facebook like button

Post by PTRACER » Sat Jun 12, 2010 1:24 am

I don't know how to explain this properly, but it is like the Facebook "bot" doesn't know exactly what information to extract from the META data.

One time I liked a thread and it was unable to extract any at all. So it just said "_____ likes content on mysite.co.uk".

Another time it did it perfectly, extracted the thread title, the website title and everything from the meta tag.

Another time it actually took the page title itself not the thread title so it said "_________ likes mysitename - View topic - Hello there!"

flubberman
Registered User
Posts: 33
Joined: Tue May 18, 2010 11:07 am

Re: The new Facebook like button

Post by flubberman » Sat Jun 12, 2010 9:42 am

Yep, I think I'll have to give up.

Seems no one can help, The FaceBook Developers forum seems to suggest adding the various MetaTags which I have done but still does not work....

Locked

Return to “[3.0.x] MOD Requests”