how do I pull the larger photo when I pull my friends from graph?

I'm pulling friends info and passing in picture, but that gets me the tiny square thumbnail. Their docs seem to suggest that there's a way to get an array of images that include a larger version of this image, but I'm not succeeding in passing in any other param to get those urls. Can someone let me know how to get a user's larger profile image?

FB.api( "/me/friends", 
    {"fields" : "name,birthday,picture,id"},
    function( response ){
    console.log("GOT RESPONSE.." + JSON.stringify(response));
    if(typeof response.data != "undefined")
                    drawFriends(response.data)
    }
);

Answers


Using the Graph Explorer Field Expansion feature, I was able to confirm this works - me?fields=friends.fields(picture.type(large))


Need Your Help

Transactions don't rollback

java ejb jboss7.x rollback

I am call two methods, the first one update a table and the next one insert a record in another table. When the second transaction fails the EJB is not doing the rollback of the first transaction.

Testing Events from Objects

unit-testing events testing tdd

I have been trying to get more in to TDD. Currently keeping it simple with lots of Debug.Asserts in a console application.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.