[BETA] Like button for Facebook

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: [ALPHA] Facebook Like button

Post by soumik » Wed Apr 20, 2011 1:56 am

Terceirense wrote:When I move a topic to another forum the like score reset to 0. :(
Yes. The forum ID changes, hence the URLs change.
Jorup16 wrote:
FF27 wrote:
antfamous wrote:
Jorup16 wrote:Hi I hope you can help me with my little problem.
The mod I have installed and whether it has helped me, when you press the button "Like" is published the link in my Facebook wall but also the link also posted a picture next to it, whether that of a range or avatar that has any user who has responded on the issue.

Image
it works for me to except i do have your same problem. it takes random images from the post being liked. is there anyway to fix this? any help is appreciated.
I Have the same problem.
In Facebook is an random image from the Site.
How I Can deleted this function ?

Edit:
Ok, i have fix this.
But how i can add this mod on the board index or portal ?
How to fix it? :idea:
soumik wrote:Add this to your overall_header.html :

Code: Select all

<meta property="og:image" content="http://URL_to_image_you_want_to_display_for_your_threads" />  
Powered by chocolate

User avatar
Jorup16
Registered User
Posts: 386
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [ALPHA] Facebook Like button

Post by Jorup16 » Thu Apr 21, 2011 10:23 am

Nice, thanks. :D

Shalashaska
Registered User
Posts: 40
Joined: Sat Dec 17, 2005 11:07 am

Re: [ALPHA] Like button for Facebook

Post by Shalashaska » Wed May 11, 2011 9:09 am

Hi,

Thanks for this great mod. It is one of the best mod I've had on the board till date. I have a few queries:

1. Is it possible to have the Like button auto-select a picture from the topic that is not smilies, avatars or other icons? Basically, select something from the body of the any of the posts instead of everything else? I have tried adding the og:image code you suggested but it takes away the option to select a thumbnail while posting a Link directly from Facebook; and permanently displays the one image for all non-phpbb users as well.

2. I am not able to view the button on IE. I've tried moving the code below the overall_header tags and tried everything else suggested in the past pages but in vain. Sometimes it appears randomly and doesn't appear on the next refresh. This has happened only twice in 4 days. Click here for forum.

Is there anything you can suggest?

Thanks.

User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: [ALPHA] Like button for Facebook

Post by soumik » Wed May 11, 2011 9:48 am

Shalashaska wrote:1. Is it possible to have the Like button auto-select a picture from the topic that is not smilies, avatars or other icons? Basically, select something from the body of the any of the posts instead of everything else? I have tried adding the og:image code you suggested but it takes away the option to select a thumbnail while posting a Link directly from Facebook; and permanently displays the one image for all non-phpbb users as well.
In one word, no. You either have the option to select a universal image for every thread of the forum, or else you need to manually select an image you need to display. It's how this Facebook social plugin was designed. There's no provision to exclude some images from being selected.
Shalashaska wrote: 2. I am not able to view the button on IE. I've tried moving the code below the overall_header tags and tried everything else suggested in the past pages but in vain. Sometimes it appears randomly and doesn't appear on the next refresh. This has happened only twice in 4 days. Click here for forum.
I need to perform more testing to find out what works with IE. There's a reason this mod is in the alpha stage and it's this bug.
Powered by chocolate

Shalashaska
Registered User
Posts: 40
Joined: Sat Dec 17, 2005 11:07 am

Re: [ALPHA] Like button for Facebook

Post by Shalashaska » Wed May 11, 2011 5:26 pm

soumik wrote:In one word, no. You either have the option to select a universal image for every thread of the forum, or else you need to manually select an image you need to display. It's how this Facebook social plugin was designed. There's no provision to exclude some images from being selected.
OK. This is a major downer from Facebook's side as most of the times, the liked topic title and thumbnail image that appears on Facebook does not represent the actual content of the post. I hope Facebook does something about this soon.
soumik wrote:I need to perform more testing to find out what works with IE. There's a reason this mod is in the alpha stage and it's this bug.
I'll be watching your mod regularly. Thanks once again for this mod, it adds much more interaction value for the members and everyone (FF & Chrome) is enjoying it despite this bug nonetheless. Looking forward to updates :)

TheBlackElk
Registered User
Posts: 2
Joined: Sat May 14, 2011 6:12 pm

Re: [ALPHA] Like button for Facebook

Post by TheBlackElk » Sat May 14, 2011 6:25 pm

If anyone has an issue with the content jumping during the loading of the page or with the large space under the button, let me know. I have a pretty quick and easy fix and don't mind posting it if someone needs it.

roblom
Registered User
Posts: 29
Joined: Tue Nov 21, 2006 8:04 pm
Location: The Netherlands
Contact:

Re: [ALPHA] Like button for Facebook

Post by roblom » Tue May 17, 2011 10:07 pm

When i press the 'Like' button in xFBML i'm not able to unlike anymore when the page accessed again.
Is this correct? Is this a setting?
Image

User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: [ALPHA] Like button for Facebook

Post by soumik » Wed May 18, 2011 12:20 am

It isn't correct. You can try the demo to see which behaviour is correct and which isn't.
Powered by chocolate

Dunnocks
Registered User
Posts: 188
Joined: Tue Jul 05, 2011 9:16 pm
Location: Ireland

Re: [ALPHA] Like button for Facebook

Post by Dunnocks » Sun Jul 10, 2011 2:45 pm

thanks for this

any solid fix for IE yet?

User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: [ALPHA] Like button for Facebook

Post by soumik » Sun Jul 10, 2011 3:39 pm

Dunnocks wrote:any solid fix for IE yet?
No. Not yet.
Powered by chocolate

Dunnocks
Registered User
Posts: 188
Joined: Tue Jul 05, 2011 9:16 pm
Location: Ireland

Re: [ALPHA] Like button for Facebook

Post by Dunnocks » Sun Jul 10, 2011 3:51 pm

soumik wrote:
Dunnocks wrote:any solid fix for IE yet?
No. Not yet.
ok thanks

do you think there will be one eventually?


also is there any way to disable it for IE until theres a fix?

and leave it enabled for other browsers?

Dunnocks
Registered User
Posts: 188
Joined: Tue Jul 05, 2011 9:16 pm
Location: Ireland

Re: [ALPHA] Like button for Facebook

Post by Dunnocks » Mon Jul 11, 2011 1:45 am

hi all

looks like the update to 3.0.9 sorts the issue with this mod in IE

so far so good anyway

thanks!

User avatar
Alien_Time
Registered User
Posts: 389
Joined: Fri Dec 31, 2010 7:08 am

Re: [ALPHA] Like button for Facebook

Post by Alien_Time » Tue Aug 09, 2011 4:18 am

Hi guys,

I am trying to install this mod in my phpbb v3.0.9 and I cant get my head around it..Can someone plz help me with these:

1) in the install.xml, in the end it says "Remember to fill in the Connect URL and Base Domain under Connect tab for your app.". I cant find where this is in facebook application and also what do I need to fill here! It doesnt make sense to me...can someone guide me?

2) Also, it says that "the xFBML version, which requires more edits, but gives the option to post a link to wall when a URL is liked.". My question is, does it place a link in my wall or the user's wall??

3) I gave up trying to figure out the settings for the xFBML version so i uninstalled it and installed the iframe version that doesnt require much edits. But this is still showing "Error" when you click on like. When you click on the error, I get this msg:
"There was an error liking the page. If you are the page owner, please try running your page through the linter on the Facebook devsite (https://developers.facebook.com/tools/lint/) and fixing any errors."

4) Also, whats the point of iframe version? It just shows how many people liked it (or) if a user likes it, they will automatically have a link to that page in their wall or something??

I know these questions might sound dumb...but I am trying to understand the function and the usage of this MOD..

User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: [ALPHA] Like button for Facebook

Post by soumik » Tue Aug 09, 2011 1:06 pm

accn wrote:1) in the install.xml, in the end it says "Remember to fill in the Connect URL and Base Domain under Connect tab for your app.". I cant find where this is in facebook application and also what do I need to fill here! It doesnt make sense to me...can someone guide me?
You need to create a Facebook application for your website.
accn wrote: 2) Also, it says that "the xFBML version, which requires more edits, but gives the option to post a link to wall when a URL is liked.". My question is, does it place a link in my wall or the user's wall??
It places a link on the wall of the user who clicked on like.
accn wrote:3) I gave up trying to figure out the settings for the xFBML version so i uninstalled it and installed the iframe version that doesnt require much edits. But this is still showing "Error" when you click on like. When you click on the error, I get this msg:
"There was an error liking the page. If you are the page owner, please try running your page through the linter on the Facebook devsite (https://developers.facebook.com/tools/lint/) and fixing any errors."
The mod won't work unless you create an app and use it's ID in the edits.
accn wrote: 4) Also, whats the point of iframe version? It just shows how many people liked it (or) if a user likes it, they will automatically have a link to that page in their wall or something??
Both the xFBML and the iFrame version does what you said above. The xFBML version additionally asks yu whether you want to share it on Facebook with a comment.

I can't be more verbose right now because I'm in a hurry. Do reply if you have any other questions.
Powered by chocolate

User avatar
Alien_Time
Registered User
Posts: 389
Joined: Fri Dec 31, 2010 7:08 am

Re: [ALPHA] Like button for Facebook

Post by Alien_Time » Wed Aug 10, 2011 12:52 am

thank you for clearing that soumik...

I have reinstalled this xFBML version of this MOD and was trying to re-set up the facebook application. During this course, I started receiving this annoying msg from facebook and I have contacted their help centre and I need to wait for a week to get a response!!
You can no longer create apps because our systems indicated that your account may not be authentic. Facebook requires users to provide their real first and last names, and fake accounts are a violation of our Statement of Rights and Responsibilities (SRR 4.1), even when used to host or test apps. Also note that maintaining multiple accounts, even if they are authentic, is also prohibited. If you would like to create a test user to test app functionality, you can do so here: http://developers.facebook.com/docs/test_users/.

If you believe you have received this message in error, please submit an appeal: https://www.facebook.com/help/contact.p ... ev_support.
Its so annoying and after searching the facebook forum, I see that a lot of ligit users are having the same issue...I have never been a fan of facebook but I am trying to install this MOD since there are a lot of people using stupid facebook... :cry:

Thank you once again for ur help..I will keep trying and see how I go..

Locked

Return to “[3.0.x] MODs in Development”

Who is online

Users browsing this forum: No registered users and 21 guests