I am trying to fetch the picture of a Facebook user\'s friends using their facebook ids, but using the following code returns nil instead of the picture url...
The code
Use the access token you've received from oauth
graph = Koala::Facebook::GraphAPI.new(access_token) profile_path = graph.get_picture(uid)
To get the path, then to display it
<%= image_tag profile_path %>
This works for me, and should for you..