fetching friend data
This commit is contained in:
parent
f0999628ae
commit
19c3a5ce4b
1 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue