We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Blank Avatar - Facebook Connect | Forum

Skillfinder
Skillfinder Dec 16 '14
I am searching all the forums and not seeing the answer for 2 things.


1. The avatar is not being fetched from facebook, even though it is approved in the fb app setting. 
2. Assuming i got the permission to fetch the "user_work_history" from fb approved, do i have to name the profile question "user_work_history" for it to be fetched?

Oxwall Software
Oxwall Software Dec 19 '14
I'm sorry, you say even it is approved in the FB app settings, what is approved?
Please share your URL
Do you want to synch profile data from your FB account and Oxwall and transfer work experience data to Oxwall? If so, this is not possible as it  became more complicated, each site separately should go through the process of some FB approval, which is why in the meantime it is a custom code modification of the current FB plugin

Also what is your software version and FB connect plugin version?
The Forum post is edited by Oxwall Software Dec 19 '14
Skillfinder
Skillfinder Dec 19 '14

http://www.nextgentt.com

software version: 1.7.2

facebook connect version: 8520


 Dont know what is wrong, it fetches everything but the profile pic, please assist.

The Forum post is edited by Skillfinder Dec 21 '14
Oxwall Software
Oxwall Software Dec 23 '14
Ricardo, please switch to the default theme.
What are the permissions of ow_userfiles folder?
Skillfinder
Skillfinder Dec 23 '14
Theme switched, still not working.

All the permissions are checked and i just realized that the gender is not being fetched either.http://www.nextgentt.com


Oxwall Software
Oxwall Software Jan 5 '15
Ricardo, can you please PM me your FTP access details, admin access details from the website and FB account access details, I'll take a look at the issue. Don't forget to remove security check from your FB account please.
Stefi
Stefi Jan 12 '15
I have same problems , the Facebook connections not synchronize the avatar


Oxwall Software
Oxwall Software Jan 12 '15
Ricardo, I see you have done some code modifications to put avatar and profile info to the dashboard, please revert the changes as this might be the issue.

Stefi, I see ross is dealing with your issue.http://www.oxwall.org/forum/topic/31223
Oxwall Software
Oxwall Software Jan 16 '15
Ricardo, do you still experience the issue?
Skillfinder
Skillfinder Jan 17 '15
I was able to place the avatar and profile information with help from this thread. The thing is, for it to work you have to remove the code after so I am not certain how to reverse it. I was actually waiting for the next update to fix it.
The Forum post is edited by Skillfinder Jan 17 '15
Oxwall Software
Oxwall Software Jan 20 '15
This helped Stefi, but it was due to her server settings. Not sure if it is going to help you.

in
ow_plugins/fbconnect/bol/service.php

line 164:

replace this line:

$out[$field] = "http://graph.facebook.com/{$fbUserId}/picture?type=large";

with this one:
$out[$field] = "http://graph.facebook.com/{$fbUserId}/picture?type=large&?return_ssl_resources=0&redirect=false";

in the same file

line 167:
replace this line:
$out[$field] = "http://graph.facebook.com/{$fbUserId}/picture?type=large";

with this one:

  $out[$field] = "http://graph.facebook.com/{$fbUserId}/picture?type=large&return_ssl_resources=0&redirect=false";

in this file:

ow_plugins/fbconnect/classes/converters.php

line 99
replace this line:
$imageContent = file_get_contents($value);

with this lines:

$imageDataStr = file_get_contents($value);
$imageData = json_decode($imageDataStr, true);
$imageUrl = $imageData["data"]["url"];
$imageContent = file_get_contents($imageUrl);


This should work, but remember you changes, if it does not work for you, please revert the changes.
Skillfinder
Skillfinder Jan 21 '15
Working now, thanks much guys.
Oxwall Software
Oxwall Software Jan 22 '15
Great.
You do not have permission to reply this topic