This repository was archived by the owner on Sep 5, 2018. It is now read-only.

Description
Hi,
Facebook large profile picture doesnt work.
The CURL to graph.facebook.com/XXX/picture?type=large save the file to ngconnect/facebook_XXX but WITHOUT extension.
EzPublish doent accept to use this following code with a filename without extension:
$dataMap['image']->fromString( $fileName );
$dataMap['image']->store();
I solved that by using these following lines of code before the CURL request:
$pathInfo = pathinfo($authResult['picture']);
if (!isset($pathInfo['extension'])) $fileName .= '.jpg';
Any opinion? Is this fix is OK, the '.jpg' string could be implemented in the ngconnect.ini file for each Login Method.
Atte,