Topic-icon Cannot use Open Graph for JReview listing

Support Specialist
12 years 7 months ago #38364 by alzander
Giang,
I just tested Autotune in your admin area, and it seems that the fields are being re-fetched each time the FB App page is loaded. My only guess is that's because of the Headline and Description which have special UTF-8 characters in them. Our tables, right now, are created using the default character set for your database. Generally, that's UTF-8, but not always. In the v5.2 release, new installs will always be forced to UTF-8.

I'd recommend trying to remove that Headline/Description from your Facebook app and test if that allows Autotune to complete properly. If so, use phpMySql or another tool to update the #__jfbconnect_config table to be UTF-8.

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

None
12 years 7 months ago #38371 by LeGiangAnh
You are correct. I changed all two text filed in that table to UTF8_Unicode and it works.

Thanks,
Giang Anh
The topic has been locked.
Support Specialist
12 years 7 months ago #38381 by alzander
Giang,
Awesome! Glad to hear that got it going for you. As always, should you need anything else, just let me know.

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

None
12 years 6 months ago #38622 by LeGiangAnh
Hello,

The issue appear again after I upgrading to joomla 3.2 + JFBConnect 5.2
developers.facebook.com/tools/debug/og/o...ame%2Fblocks-buddies
The Graph API: graph.facebook.com/670092106335974
The issue: Can't Download Could not retrieve data from URL

Thanks,
Giang Anh
The topic has been locked.
Support Specialist
12 years 6 months ago #38638 by alzander
Anh,
I've been looking, but couldn't find any reason that Facebook can't fetch your page contents. The best way to tell if this is a JFBConnect issue is to disable the JFBCSystem plugin and test again. That disables almost all of JFBConnect, including the Open Graph tags.

If Facebook still can't scan your page with that disabled, you'd need to investigate your access logs and see what is being returned when Facebook hits your site. Facebook has a User Agent string of "facebookexternalhit/1.0" or "facebookexternalhit/1.1", which should make finding the request easier.

Let me know if that helps you narrow things down, and we'll help how we can.

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

None
12 years 6 months ago #38649 by LeGiangAnh
Hi,

Disabled JFBCSystem but it doesn't work.
How can I view the log?

Thanks,
Giang Anh
The topic has been locked.
Support Specialist
12 years 6 months ago #38652 by alzander
That would be something on your server access logs. Each server is different, and you'd need to contact your host. You should be able to check the response logs for the response code (it should be 200) and the length of the page which was returned. The length will be critical because Facebook is reporting that "No data could be retrieved from URL".

Some servers have odd configurations that block or change the output when Facebook is detected. That's not the right behavior, and the best guess i have for what's happening on your site.

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

None
12 years 6 months ago - 12 years 6 months ago #38765 by LeGiangAnh
Hello,

In the same host I have other site use the JReview and JFBConnect: danhgia.net and it works perfectly.
So I don't think it's server issue. Could you please take a look on it?
Note: danhgia.net use Joomla 3.1.5. So I guess it was caused by Jooma 3.2?

Thanks,
Giang Anh
Last edit: 12 years 6 months ago by LeGiangAnh.
The topic has been locked.
Support Specialist
12 years 6 months ago #38772 by alzander
We actually had another user have this same issue. It wasn't related to JFBConnect, but instead was caused by GZip compression being enabled on the server. Can you try disabling GZip compression in the Joomla Global Configuration area, or in any optimization plugins you may have enabled, and see if that helps?

I'm not sure why GZip compression would be causing this issue, but hopefully it fixes your problem as well.

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

None
12 years 6 months ago #38776 by LeGiangAnh
You are right. I disabled gzip in Joomla and the issue was solved.
So I cannot use gzip anymore? (this is a great feature =____________=)
The topic has been locked.