computermaus
computermaus

Reputation: 73

How can I add a "select all" to a facebook Request dialog?

I use a Request dialog on my Facebook game for my user to invite others to it. So far it works perfect but I miss the possibility to select all friends at once.

I have read the past days that the facebook-dialog isn't providing this feature at all but I saw in many games that there are solutions but I don't know how they so this. If I look e.g. at cityville or castleville then it seems they have createed their own invitation-dialog. I know there is a way to read the friendlist so I could create a select dialog by myself but how can I send the invitation then without using Request Dialog? Or is any other solution for this problem?

Upvotes: 0

Views: 992

Answers (1)

cpilko
cpilko

Reputation: 11852

You can make your own "select friends" dialog by using the graph api to get all the user's friends. When they submit this form, you'll get the user's selected ids and pass them to the request dialog. (See the "Send a Request to One or more users" on this page.)

Upvotes: 0

Related Questions