fetching friend data

This commit is contained in:
ilya 2010-09-23 15:07:07 -07:00
parent f0999628ae
commit 19c3a5ce4b

View file

@ -76,7 +76,8 @@
= @response_hash[:name] = @response_hash[:name]
- @fb_friends = MiniFB.get(@access_token, 'me', :type => "friends") - @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 - form_tag "/services/fb_post" do
= text_area_tag "message" = text_area_tag "message"