401 - Unauthorized: Access is denied due to invalid credentials.
401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.Small fix: Get full size of profile picture when user login by Facebook - Question2Answer Q&A
Welcome to the Question2Answer Q&A. There's also a
if you just want to try it out.
1,174 views
May 10, 2013
In Facebook login plugin, user's image is not get full size. I have small fix for that.
Open this file: qa-facebook-login.php
1. Find and insert more field to get: username
$user=$facebook-&api('/me?fields=email...
To like this:
$user=$facebook-&api('/me?fields=email,username...
2. Find and replaces this lines:
'avatar' =& strlen(@$user['picture']['data']['url']) ? qa_retrieve_url($user['picture']['data']['url']) : null,
'avatar' =& qa_retrieve_url(')
You can change type of image size:
square --& 50px x 50px
small --& 50px x variable height
normal --& 100px x variable height
large --& max size with 200px x variable height
closed with the note:
This is the small fix to sharing
Best answer
This is the small fix to sharing, i want people found it.
Snow Theme by
Powered by