HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Facebook plug-in Fuzzy Profile Pic fix

So I enabled the Facebook plug-in and noticed that the profile pics that were loaded from Facebook were very fuzzy.
This is because by default, the plug-in gets a 50px by 50px profile pic.
I fixed this, so that the picture that gets loaded from Facebook is displayed normal.

I opened the file class.facebook.plugin.php

Then I located the line

$Form->SetFormValue('Photo', "http://graph.facebook.com/$ID/picture");

and replaced this with

$Form->SetFormValue('Photo', "http://graph.facebook.com/$ID/picture?width=200&height=200");

(of course you can alter the width and height to your desires)

I uploaded the file back again to the server.
I then did a log-out and then logged back in with my Facebook account and it worked.

I had to share this.

Comments

Sign In or Register to comment.