× Joomla Facebook Connect support forum

Topic-icon FB Like button

Active Subscriptions:

None
13 years 9 months ago #26140 by techgal
FB Like button was created by techgal
I could use some help figuring out what is going awry with this client's FBConnect installation
The site is www.myjohnstownbreeze.com
Joomla 1.5.26
JFBConnect 4.2.4

When I click on the Like button on one of the home page articles (middle column), I can login to the Facebook account (I have tried several). However, once I login and try to click the Like button, it does not give me the like box on top - it looks like it is hidden if you kind of click and hold it for a second. I also noticed I have to refresh the page to get the page to have the user login info show up.

I am a little stumped as to what might be causing the issue.

The site uses Community Builder CBSubs to restrict access to non-paid plan items, but this does not seem to be blocking the JFBC icons to show up on the front page article (which is free until you click "Read More") and FB Send seems to work ok.

Do I need to use the SCLogin? I didn't think so from the documentation I read...

Any help to get this working would be greatly appreciated.

Thank you for your time.
The topic has been locked.
Support Specialist
13 years 9 months ago #26149 by alzander
Replied by alzander on topic FB Like button
SCLogin is not required to be published for the Like buttons (or any reason, really). It's just an easy way to add the Login with Facebook button, if you want to use it.

The problem seems to be a wonky redirect on your page and some security measures from Facebook. First, of Facebook wants to 'see' the content of your pages that people can Like. While some being hidden behind a paywall is fine, Facebook wants to see at least a few pages to understand what type of site you are. Currently, there are no Like buttons on pages that Facebook can see.

Now, for the why part of why can't Facebook see the pages. If you go to the following page:
http://www.myjohnstownbreeze.com/index.php?option=com_content&view=article&id=7450:riders-reds-go-to-overtime-in-roosevelts-regular-season-opener&catid=1:latest-news&Itemid=50
There's a Like button on that page that is 'for' that page. Since that page is public (at least part of the content), Facebook should be able to see it. However, JFBConnect is inserting an Open Graph canonical url property that says the page is really:
http://www.myjohnstownbreeze.com/index.php?option=com_content&view=article&id=7450:riders-reds-go-to-overtime-in-roosevelts-regular-season-opener&catid=1:latest-news&Itemid=50
Those URLs are almost identical, but the difference is that the first URL uses & instead of &. Either should work (and Facebook prefers the simpler & symbol). However, if you go to the 2nd URL, it redirects to the CB Subs page. That doesn't seem right to me, and the fact that it doesn't work is going to be bad for Facebook and even search engine purposes.

To see the effect it has, check out the following URL Debug Tool from Facebook:
developers.facebook.com/tools/debug/og/o...%26amp%3BItemid%3D50

You can see the redirect chain it's going through and the ultimate page (without any Like button) that's being arrived at. Not sure where the problem lies, but hopefully this long explanation will help you narrow things down!

Best of luck, and let us know if you need more help,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 9 months ago #26215 by techgal
Replied by techgal on topic FB Like button
Thank you for your help. There have gotten to be so many options, it is overwhelming to figure out how all the pieces work. However, I have persevered after reviewing your links and think that I have this working for the most part. It seems that removing the slash "/" at the end of the domain name in the FB developer settings seemed to fix the problem. Auto-tune does not like that, but I ignored the auto-tune settings and it appears to be working sufficiently for our purposes. I'm sure that is not a best practice, but we are just trying to get by for now as a new upgraded Joomla version of the site is in progress and I'm thinking that will eliminate some of our issues.
Thanks again for your help.
The topic has been locked.
Support Specialist
13 years 9 months ago #26223 by alzander
Replied by alzander on topic FB Like button
No problem for the help. Not sure why the slash was causing you problems. There honestly shouldn't be a slash at the end, and Autotune shouldn't be recommending one.. so getting rid of it is the right thing to do.

As for why the slash was causing your problem, that, I honestly don't know. As you mentioned though, there's a lot to Facebook integration. We try to make it simple (though it's still admittedly too complex in some areas), but some things even elude us.

Either way, glad you got it going, and should you need anything else, just let us know!

Best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 9 months ago #26262 by techgal
Replied by techgal on topic FB Like button
I guess I need some more help on this. The like buttons disappeared!
I have upgraded to the latest 4.25 version.
I tried going in and manually adding the {JFBCLike} to an article and it saved the code but it is not now displaying anything.
I am very confused as to what settings should work.
Auto-tune is still suggesting the slash. I have attached images (if I did that correctly!)
I attached an image of my current installed JFBC plugins.
I am able to turn on and off the Comments box, but not the Like - I have tried standard, box count and button count and none of them are showing up.
I added two images of my settings in the Like content plugin.

Thanks!

P.S. They do show up on the top section main stories - if you click on Read the Full Story button. However, down in the Johnstown Front Page News middle section "Tribe Coming to Town" and "RHS Alum hired as Storm Head Coach", etc is where I would like them to show up.

PPS It dawned on me that maybe I needed to be logged in on the website as a user - so I did and I only see the Google+ icon on the stories...

PPPS - So I turned on the Blog view and I can see the like button in the Featured stories at the top (when I click on Read the Full Story), but I am still only getting the Google+ button on the News section stories, whether on the front page or click on the Read More link. It would seem it has to be something on maybe how the editor (JCEditor) is handling it? Do I need to tell the editor a particular code type is ok?

Thanks again! (Sorry for the updates, but I really am trying to figure this out!)
The topic has been locked.
Support Specialist
13 years 9 months ago #26272 by alzander
Replied by alzander on topic FB Like button
Your setting look fine in Autotune. The Site URL should, I believe, have a slash at the end, but I don't think that's your problem.

I'm not seeing the Like button's anywhere. I'm not logged in though, so maybe I'm missing something there. The problem is almost certainly the redirection to the pay-wall that you have. Since you don't have any Facebook Like buttons that point to an article that Facebook can actually see, they won't show your buttons and won't let user's click them. Facebook wants to know your site isn't spammy, malicious, or otherwise bad. You'll need someway to have the Like buttons on at least a few pages that Facebook can scan to understand the content of your site. Then, after it's seen an ok sampling, it will start allowing Like buttons on content that it can't see.

Just so we're clear, if you have a Like button on an article on the front-page, the Like button will be 'for' the articles full-length page. If that final destination page can't be reached without logging in, that's a problem when you're starting out. So:
* Drop the paywall for a little while
* Add Like buttons to public content and make sure those are clicked so that Facebook 'sees' some of your public content.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 9 months ago #26300 by techgal
Replied by techgal on topic FB Like button
Thank you for the advice about Facebook "seeing" the content. Can you give some indication of how long we need to drop the paywall? Are we talking a couple of hours or a day or ? Our subscribers may be unhappy at seeing free access when they are paying for access....

Thanks for your help!
The topic has been locked.
Support Specialist
13 years 9 months ago #26311 by alzander
Replied by alzander on topic FB Like button
Here's what I would recommend:
* Disable the paywall
* Use the Facebook URL Debug Tool to scan about 10 (or more) of your private URLs. With the paywall down, Facebook should be able to scan them without a problem.
* Re-enable the paywall

That should take only a few minutes and may be all that's needed. It wouldn't be a bad idea to also put a Like button on your home page, for your homepage, so that there is always one public Like button on your site. That's good anyways, frankly.

Hopefully, that's all you'll need to do to get things working for Facebook. If not, or you run into issues, just let me know!

Thanks,
Alex
The topic has been locked.