Topic-icon Open graph tags

Active Subscriptions:

None
10 years 1 day ago #43931 by paulvanharen
Open graph tags was created by paulvanharen
Dear Alex,

I've a website hosted at fractiefront.nl and I want to use JFBC to generate OG tags for sharing with Facebook. This doesn't work. Using the FB Open Graph Object Debugger a message shows up
Inferred Property	The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.
From the page code it appears that this is perfectly OK.

After a lot of testing, I decided to copy the site to another host. You can find an exact copy at kaleidoscoop-web.nl/front. And guess what? Here FB recognizes all tags that are in the HTML. The copy was made using Akeeba Backup, and no modifications were made afterwards, thus I believe that these copies are the same as can be.

Do you have an idea what is causing my problem?

Thanks and regards, Paul
The topic has been locked.
Support Specialist
10 years 1 day ago #43938 by alzander
Replied by alzander on topic Open graph tags
Facebook isn't scanning your page. If you scroll to the bottom of the debugger view, you'll see the "See exactly what our scraper sees for your URL" link, which is completely blank when clicked on.

That means one of the following is happening on your site:
1) There's a firewall or other security restriction that's preventing Facebook from scanning your pages. They use their own browser User Agent string, and it may not be allowed from your configuration. I'd recommend going through your Apache access logs to see if you can find the request made when you run your page through the debugger and see if a 200 (status OK) response code is sent.
2) Your site, or more likely your IP address, is blocked by Facebook. The IP can be blocked if you're on a shared-hosting environment and one of the other sites that share your IP has been blacklisted. In this case, you need to either:
a) Contact your hosting provider and have them move your IP or contact Facebook to un-restrict your IP
b) Try to open a Bug Report with Facebook.

Hopefully you can solve the issue with #1 as that doesn't force you to wait for Facebook or your host to investigate the issue.

I hope that helps,
Alex
The topic has been locked.
Support Specialist
10 years 20 hours ago #43957 by alzander
Replied by alzander on topic Open graph tags
Ahhh.. One more easy thing I meant to mention to test, which hopefully will be the easy fix. Please go to your Joomla -> Global Configuration -> Service tab and set "Enable GZip Compression" to "No".

There use to be a bug with that setting in Joomla 3.x which would return unintelligible results to Facebook, but we haven't heard of it recently. It's possible the problem cropped back up again. Please test and let me know how that goes.

Thanks,
Alex
The topic has been locked.