If your site can not get avatar from Facebook or G+ login please check your server to make sure your site enabled allow_url_fopen and allow_url_include