If I have in my web application a facebook user logged in. I want then to be able to post to his friends sth on their new's feed. For this I need an ID of his friend that i want to post to.(at least I think I should need an id or maybe there is some other way).
So the question is how to get the ID's of his friends. I can get all the names of his friends with facebook_user.friends. Or i can also get the first one with facebook_user.friends.first.
So the question is how to get the ID of a specific friend depending on his/her name?
I was searching google and reading through the facebook documentation but couldn't find anything so I would appreciate any answer. Thank you.
(I am using facebooker2 and mogli gem to interact with posting to walls etc.)