From 19c3a5ce4b32b9183d593ea92a25a536a9cdd2e2 Mon Sep 17 00:00:00 2001 From: ilya <ilya@laptop.(none)> Date: Thu, 23 Sep 2010 15:07:07 -0700 Subject: [PATCH] fetching friend data --- app/views/users/edit.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/users/edit.html.haml b/app/views/users/edit.html.haml index bbd84ec923..3045a2ad2b 100644 --- a/app/views/users/edit.html.haml +++ b/app/views/users/edit.html.haml @@ -76,7 +76,8 @@ = @response_hash[:name] - @fb_friends = MiniFB.get(@access_token, 'me', :type => "friends") - = @fb_friends.inspect + - @fb_friends[:data] do |friend| + = MiniFB.get(@access_token, friend[:id]).inspect - form_tag "/services/fb_post" do = text_area_tag "message" -- GitLab