? Success

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
28 May 2014

Facebook scraper gets only 40kb of data when scraping a page. If Gzip is enabled and the compressed page is more than that Facebook gets something that cannot decode (partial d/l returns code 206). This P/R checks if user agent is facebookexternalhit/1.1 and if so disables the gzip

Tracker:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32634

There is another P/R #3643 with no code

avatar dgt41 dgt41 - open - 28 May 2014
avatar dgt41 dgt41 - change - 28 May 2014
Labels Added: ? ?
avatar dgt41 dgt41 - change - 29 May 2014
Title
Fix the Facebook (Open graph) - joomla! Gzip problem
[#32634] Fix the Facebook (Open graph) - joomla! Gzip problem
avatar dgt41 dgt41 - change - 29 May 2014
Title
Fix the Facebook (Open graph) - joomla! Gzip problem
[#32634] Fix the Facebook (Open graph) - joomla! Gzip problem
avatar bembelimen
bembelimen - comment - 30 May 2014

I don't think, that Joomla! should fix a bug from facebook (especially not hardcoded and without using the Joomla! framework).

If you want to disable gzip for facebook, you could create an plugin and use JBrowser

avatar dgt41
dgt41 - comment - 30 May 2014

You are right. I thought about that, but I already have made the first commit. Thus I am closing this. In case anyone needs a quick clean fix, here is the plugin
https://github.com/dgt41/facebookfix

avatar dgt41 dgt41 - change - 30 May 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-05-30 03:19:49
avatar dgt41 dgt41 - close - 30 May 2014
avatar dgt41 dgt41 - close - 30 May 2014
avatar Bakual
Bakual - comment - 30 May 2014

@dgt41 I hope you're going to publish it on JED so people can find it :smiley:

avatar phproberto
phproberto - comment - 30 May 2014

I think it could be interesting as integrated plugin. So not everybody has
to have it enabled but it can be done easily.
On 30 May 2014 04:07, "bembelimen" notifications@github.com wrote:

I don't think, that Joomla! should fix a bug from facebook (especially not
hardcoded and without using the Joomla! framework).

If you want to disable gzip for facebook, you could create an plugin and
use JBrowser


Reply to this email directly or view it on GitHub
#3662 (comment).

avatar dgt41
dgt41 - comment - 30 May 2014

@Bakual yeah I already did that :)
@phproberto If it's not an overkill to have yet another plugin...

avatar dgt41 dgt41 - head_ref_deleted - 11 Sep 2014

Add a Comment

Login with GitHub to post a comment