Topic-icon facebook avatar not showing in jomsocial profile, Google avatar works

Active Subscriptions:

None
Dear Alex,

Today i did a clean Joomla 3.0 install, JS, and a JFCB.

And also created a new Facebook app.

I got the same problem on FB, cover picture Yes, Status update YES, avatar NO

I'm lost

I think i still can have to do something with the 1ste october changes from fb.

maybe my fb Apps are no good
The topic has been locked.
Active Subscriptions:

None
10 years 6 months ago - 10 years 6 months ago #38347 by jwvr
Dear Alex,

I have it on al my sites.

Today i thought i have an other side i did not touch since end of july. It was just a side for a Event which i organise once a year.

So I thought to check that one out. Because is was running perfect.

This side has the same issue now with the avatars.

So I check all my sides, they al have that problem. I went on some sides back to the standard Facebook connect with jomsocial, so without jfbc. I got a black avatar.

So I think that it realy has to do with the facebook changes from the 1ste of october. So I put a call at Jomsocial, I do not think at this moment it is a JFCB issue.

I got the following reaction from Jomsocial,


"Hi there.

I think Facebook is changing something with their api since it's also happening on my site, I'll ask also our developers about it."


If you want you can follow the topic on jomsocial

TOPIC: Facebook avatar is not imported - Facebook cover and status is.
#52121

The only thing that is wondering me, is it me allone that has this Issue?

by the way: Thanks for all your help allready and a nice new avatar.
Last edit: 10 years 6 months ago by jwvr.
The topic has been locked.
Active Subscriptions:

None
Dear Alex,

Hopefully you can still help me.

Jomsocial could not find the problem, they ghad the sam issue but just for a day.

And the could also not find the issue.

I got the problem since the 1st of october.

and on all my sites. if I use JFCB he will logon but without avatar, and very slow when the parameter "Always import profile data " is ON.

when I do a clean install with just joomla and jomsocial, with there standard Fb login, it stuck on th elast screen import avatar etc. The a new user is created but he will not logi.

Could it be that Facebook changed the IP ranges which is missed by my hosting provider.

I tried it on different domains on differnet servers, but all the same issue. maybe i have to change the provider.

Help!!!
The topic has been locked.
Support Specialist
Very sorry for not getting back to you before. Your issue is definitely unique to you in some way, as we haven't heard of this problem from any other users. I just went through our code, and here's a bit of what I can see:
1) We request the user's Avatar URL from Facebook in the same way that we request the rest of the user's profile information. So, if some data comes in, but not others, it means that the way we're fetching profile information *isn't* the problem.
2) That leaves how we fetch the user's avatar. The outgoing request method (using cURL) is the same as everything else, again, so it's not the request action itself.
3) The URL that the avatar is fetched from *is* different than anything else. When we request an avatar URL from Facebook, it comes back like:
https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash3/41371_1420389068_2859_n.jpg
JFBConnect simply goes and fetches the image from that URL and downloads it to your server.

With that URL (that's my profile pic), please check with your host if fetching content from that address would be a problem. A simple test (if you have SSH access) is to run the following command at the prompt in a temp directory:
wget https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash3/41371_1420389068_2859_n.jpg
That *should* download the image. That's not going through the exact same path as PHP, but it tests a lot of different points along the path. If it takes 10 seconds, or fails altogether, something's definitely not right with your server configuration. If it does work, that narrows things down to Apache/PHP/Joomla/JFBConnect.. and we can gladly diagnose further with that info.

I hope that helps get you started, and, again, sorry for the delayed response!
Alex
The topic has been locked.