if ($user && (int)$user_profile['id'] != 0)
{
$fbid = (int)$user_profile['id'];
//$avatar = (int)$user_profile['id'].".jpg";
$avatar = "";
$url = "https://graph.facebook.com/{$fbid}/picture?type=normal";
$img = IMAGES . "avatars/{$fbid}.jpg";
//file_put_contents($img, file_get_contents($url));
//Warning!! Against Facebook policies! They will ban you from using this script.
//Un-comment to use!
}
if ($user && (int)$user_profile['id'] != 0)
{
$fbid = (int)$user_profile['id'];
$avatar = (int)$user_profile['id'].".jpg";
//$avatar = "";
$url = "https://graph.facebook.com/{$fbid}/picture?type=normal";
$img = IMAGES . "avatars/{$fbid}.jpg";
file_put_contents($img, file_get_contents($url));
//Warning!! Against Facebook policies! They will ban you from using this script.
//Un-comment to use!
}
Quote
Martijn78 wrote:
When entering infusions > connect panel i get this:
Not Found
The requested URL /infusions/facebook_connect_panel/facebook_connect_panel_admin.php was not found on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
would be nice if enhanced_user_info_panel.php would be build in :G
Category Forum
Official releases [Infusions]Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions