Kdyby / Facebook

[DEPRECATED] Use https://github.com/thephpleague/oauth2-facebook instead
Other
42 stars 36 forks source link

Fetch profile picture URL without HTTP 302 redirect #5

Closed stekycz closed 11 years ago

stekycz commented 11 years ago

Default behavior in API use HTTP code 302 to redirect to data which contains URL for profile picture. It does not work with some older version of PHP (5.3.*). This update works in PHP 5.3 and PHP 5.4 and does not contain any redirect so it could be faster :-)

stekycz commented 11 years ago

Details can be found here https://developers.facebook.com/docs/reference/api/user/

fprochazka commented 11 years ago

Thank you!