Topic-icon Comments not working

Active Subscriptions:

None
12 years 9 months ago #35738 by julcam
Comments not working was created by julcam
(My web hosting admin originally posted this message here: www.sourcecoast.com/forums/jfbconnect/jf...s-not-working#p35723, However this is the account associated with our subscription so I will repost)

I'm seeing some strange issues with the comments around the time we changed servers. Not sure if that's the cause, or something else ...

My Facebook comments on the Joomla articles now say "Warning: <long_url_here> is unreachable.". However, if you try to go to said URL, it loads fine. We've tried rentering the Facebook API info etc, but can't figure it out. Another odd piece, the old articles, created while on the old server are still showing comments, while the new ones are not and are giving this error. I've tried searching through the forums etc and can't figure it out. Nothing else has really changed is the deal.

When I use the Facebook URL Debugger I this info ...

Scrape Information
Response Code: 403
Missing Required Property: The 'og:type' property is required, but not present.
Inferred Property: The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property: The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.

Alex,
Sure thing. I'm just the tech that runs the server and am finally catching up on some OLD tickets that we need to resolve. I'll see if i can have our web developer post here as well to verify account info.

Here's a page that's seeing the issue:
www.jcblog.net/kingdom/righteousness/jes...-making-us-righteous

Here's a page that's not seeing the issue: (posted on old server then migrated with site move)
www.jcblog.net/kingdom/righteousness/what-is-gods-righteousness

(Added by Juli) Also, You can actually post comments to these articles however no notification is sent and most do not show up under the Facebook Comment Moderation Tool... although a very have, so I am afraid these comments will disappear once this is fixed)

Here's some other module info that I hope helps. Thanks, Alex!

Required Extensions Installed Available Status
JFBConnect 5.0.1 5.0.1 This extension is installed and published.
SCLogin 3.0.3 3.0.3 This extension is installed but not published.
Authentication Plugin 5.0.1 5.0.1 This extension is installed and published.
System Plugin 5.0.1 5.0.1 This extension is installed and published.
User Plugin 5.0.1 5.0.1 This extension is installed and published.
Social Extensions Installed Available Status
Content Plugin 5.0.1 5.0.1 This extension is installed and published.
JFBCFan 5.0.1 5.0.1 This extension is installed but not published.
JFBCLike 5.0.0 5.0.0 This extension is installed and published.
JFBCSend 5.0.0 5.0.0 This extension is installed but not published.
JFBCComments 5.0.0 5.0.0 This extension is installed and published.
JFBCRecommendations 5.0.0 5.0.0 This extension is installed but not published.
JFBCRecommendationsBar Not Installed 5.0.0 This extension does not appear to be installed.
JFBCFriends 5.0.0 5.0.0 This extension is installed but not published.
JFBCFeed 5.0.0 5.0.0 This extension is installed but not published.
JFBCRequest 5.0.0 5.0.0 This extension is installed but not published.
JFBCFollow Not Installed 5.0.0 This extension does not appear to be installed.
Profile Integration Installed Available Status
Community Builder Not Installed 5.0.1 This extension does not appear to be installed.
JomSocial Not Installed 5.0.1 This extension does not appear to be installed.
Kunena Not Installed 5.0.1 This extension does not appear to be installed.
K2 Not Installed 5.0.1 This extension does not appear to be installed.
Virtuemart2 Not Installed 5.0.1 This extension does not appear to be installed.
JomSocial - FB Wall 5.0.0 5.0.0 This extension is installed and published.
The topic has been locked.
Support Specialist
12 years 9 months ago #35746 by alzander
Replied by alzander on topic Comments not working
Juli,
Your server is actively denying requests from specific User Agents. When you load your page through a browser it works.. However, Facebook uses a remote tool to scan/scrape your content and that process is being rejected by your server.

As a test, please go to:
web-sniffer.net/
Enter a URL that's having issues and hit 'Submit'. You'll see a response code of '200', which is correct.

Now, if you change the "User Agent" to 'None', you'll see the 403 'Forbidden' code, which is what Facebook is getting. Another tool reporting the same result is www.internetmarketingninjas.com/header-checker/

You'll need to investigate what your server (Firewall, htaccess file, etc) is doing to limit User Agents and lift those restrictions.

I hope that helps explain, but if you have any other questions, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago #35756 by scobeh
Replied by scobeh on topic Comments not working
Thanks for the info. We are using a few security pieces and modsecurity. I disabled modsecurity and tested again, but I will try testing with the websites you posted as well.
Any idea why it would work for older articles previously posted, and not newer articles though? That's the piece that makes it seem like it's not a firewall issue. Thanks for your help!
The topic has been locked.
Support Specialist
12 years 9 months ago #35764 by alzander
Replied by alzander on topic Comments not working
The page that is working (from the old site) posted above is *not* working. If you run it through the Debug Tool ( here ) you'll see that the same 403 error is being thrown. The difference is that Facebook has previously seen the page and is willing to use their cached values.

Eventually, their cache will expire and all of the pages on your site will show that problem.

Finally, in case you still want to use the User Agent detection that seems to be enabled (somewhere), these are the User Agents from Facebook:
facebookexternalhit/1.0 (+http://www.facebook.com/externalhit_uatext.php)
facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
If you update to accept those User Agents, things should work.

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

None
12 years 9 months ago #35812 by scobeh
Replied by scobeh on topic Comments not working
Thanks for the help! It was a mod-security rule blocking it. Of course, a 2 min fix once you helped me track it down (after hours and hours of man time). The huge help here was telling me that Facebook had cached the older rules. I couldn't figure out why they were showing if it was a security/firewall rule. Thanks so much!
The topic has been locked.
Support Specialist
12 years 9 months ago #35824 by alzander
Replied by alzander on topic Comments not working
Scott,
No problem at all. Glad we could help! If you run into anything else or have any questions, just let us know.

Thanks, and good luck,
Alex
The topic has been locked.