I have set the user image size to large but fbconnect is still pulling the small picture. I would also like to know how to set the refresh between drupal site account and facebook data.
I have set the user image size to large but fbconnect is still pulling the small picture. I would also like to know how to set the refresh between drupal site account and facebook data.
Comments
Comment #1
bflora commentedYeah, what's the story here? My users are getting smallish images. Is it possible to access the full-size ones?
Comment #2
bflora commentedI did a little poking into this:
FB connect seems to be getting the 'pic' field from facebook.
According to the developers wiki, it is possible to ask for the big_pic field.
If I knew where in the FB Connect module code to make this change, I could do it and try it out. I'm guessing there's just one spot where the module is told to ask for pic instead of big_pic.
Comment #3
gilgabar commentedThe function that generates the user picture is around line 470 of fbconnect.module. It gets called on line 33 of fbconnect_profile.module.
The parameters given in the comment are incorrect. If you look at the Facebook Developers Wiki: http://wiki.developers.facebook.com/index.php/Fb:profile-pic, it says possible values are thumb, small, normal, and square. A width and height are also possible as it is essentially the same as an img tag. Medium and large are not valid, and changing it to normal actually solved another problem I was having with profile pics not showing up in the friends block.
As for setting the refresh frequency, I would guess that line 9 of fbconnect_profile.module does it:
Comment #4
LaNets commented