I use the JavaScript SDK for Facebook Connect.
Yesterday I loaded all the friends of a logged in user like this:
https://graph.facebook.com/me/friends?fields=name,first_name,picture&access_token=MYACCESSTOKEN&callback=?
Using this code I got the id, name, first name and picture of all the friends that the logged in user has. This was called using AJAX/jsonp. As I said, it worked yesterday and no modifications have been done to the code since then.
Today I get the id, name and the first name – no picture(!) Could this be a glitch in Facebook Graph, has there been any updates that I could have missed or is the above call to the graph API invalid?
Is this a correct way to get the picture of all friends?
Update: Bug seems to be fixed now.
Once again, Facebook proves themselves. Why would anyone just remove something from an API without at least notifying people they are going to do it?
Fyi, I filed this bug report:
https://developers.facebook.com/bugs/269804093087242
My guess is that it gets ignored or closed as either a duplicate or wontfix and there won’t be any recourse.
The issue with the workaround above is that img src url ends up being a http redirect instead of the absolute url like before. That just slows things down.