Rameez Hussain
Rameez Hussain

Reputation: 6754

iOS - Send requests to Facebook friends

I have been trying to set up a system on my app, where users can send requests to their Facebook friends. I followed the instructions on this page, and found that it presents a dialog where I can select friends and send invites. So far so good. But what I would like is that this dialog comes with the friends pre-selected so the users don't have to select them one by one. Is there a way to do this?

Upvotes: 1

Views: 353

Answers (1)

Sahil Mittal
Sahil Mittal

Reputation: 20753

According to the documentation,

You can filter the suggested list down or target one user. To filter down the list you can pass in a parameter, suggestions that contains a comma-separated list of friends to show in the selection. To target one recipient, pass that user's ID in a to parameter.

Upvotes: 2

Related Questions