Edit: Didn't noticed, that the question is old. Maybe it still helps
I never did this myself, but:
You have to implement this yourself by using:
To get the list of friends.
Then you can send a request to a list of users:
(search for "Sending requests to specific lists of friends")
There is also a tutorial about how to do this: