Page 1 of 15

The new Facebook like button

Posted: Thu Apr 22, 2010 11:06 am
by Larsen82
Facebook announced yesterday a new way to integrate the Facebook LIKE button on sites. You can now as they say use a simple iframt (html) code to integrate it to sites.

Would love a MOD that integrate this LIKE button on all new posts that is made in a phpbb forum.

Best regards
Larsen82

Re: The new Facebook like button

Posted: Thu Apr 22, 2010 11:47 am
by darkonia

Re: The new Facebook like button

Posted: Thu Apr 22, 2010 12:00 pm
by Larsen82
That is not the same I am talking about. What I mean is the new thing Facebook published yesterday.. take a look here: http://developers.facebook.com/docs/ref ... ugins/like

Re: The new Facebook like button

Posted: Thu Apr 22, 2010 12:28 pm
by darkonia
but you want that posts can be publish, and the mod make it...

Re: The new Facebook like button

Posted: Thu Apr 22, 2010 11:50 pm
by cherryaa
sorry, posted code with error :oops:

The mod above is MUCH better, anyway ...

Re: The new Facebook like button

Posted: Fri Apr 23, 2010 1:55 am
by RRManager
I need to know how to do this. Not just sharing. That defeats the whole purpose of what Facebook's API's are for. They want to use your information to help you connect with other users. I want my board to help people connect... Not just post arbitrary links on their Facebook profile.

Re: The new Facebook like button

Posted: Fri Apr 23, 2010 10:55 am
by Boardtalk.net
RRManager wrote:I need to know how to do this. Not just sharing. That defeats the whole purpose of what Facebook's API's are for. They want to use your information to help you connect with other users. I want my board to help people connect... Not just post arbitrary links on their Facebook profile.
This sounds good, I would like to know too.

Re: The new Facebook like button

Posted: Fri Apr 23, 2010 12:03 pm
by Artistix
Larsen82 wrote:Facebook announced yesterday a new way to integrate the Facebook LIKE button on sites. You can now as they say use a simple iframt (html) code to integrate it to sites.

Would love a MOD that integrate this LIKE button on all new posts that is made in a phpbb forum.

Best regards
Larsen82
'
This is very simpe. (I did it yesturday)

Copy the generated code, and paste it in your site:

http://developers.facebook.com/docs/ref ... ugins/like
Post it anywhere on your site.
You dont see the button, until you clear your cache!!! :)

Re: The new Facebook like button

Posted: Fri Apr 23, 2010 12:12 pm
by Boardtalk.net
Quick question Artistrix, if I want it to display on each post where would I copy the facebook code to?

Thanks

Re: The new Facebook like button

Posted: Fri Apr 23, 2010 12:17 pm
by Artistix
in viewtopic_body.html I think... (but I found it not very pretty) so I put it on the top in my overall_footer.html instead :P

Re: The new Facebook like button

Posted: Fri Apr 23, 2010 12:30 pm
by Boardtalk.net
Yes I do, I like it very much... fair play to yea! Thanks ;)
I've just given you a thumbs up :lol:

Re: The new Facebook like button

Posted: Fri Apr 23, 2010 1:13 pm
by Larsen82
But how do you get it to like the current post, not only the hole site / url ?

Re: The new Facebook like button

Posted: Fri Apr 23, 2010 1:38 pm
by Artistix
This is where I dont know what to do... So Ive added this as a MOD request:

http://www.phpbb.com/community/viewtopi ... &t=2075945

This will complete "every" aspect of the issues to the Facebook Platform. Insted of having lots of small file-edits, it would be great to be able to turn theese on/of in the ACP.

Dont you agree? ;)

Re: The new Facebook like button

Posted: Mon Apr 26, 2010 6:28 pm
by martoccia
I have been trying all day to get the "current post" code in order to implement it in the facebook like it button! If anybody has an idea... would be great! Have a nice evening... ;)

Re: The new Facebook like button

Posted: Tue Apr 27, 2010 12:08 pm
by plasmino
I integrated the button "I like" being able to retrieve the url of the discussions.

if someone wants to test and tell me if you find errors, thanks

Test button in this page

button at the bottom of the page after the button Postreply