ojsglobal
ojsglobal

Reputation: 534

Multi Friend Inviter for event

Is there a way to bring up same multi friend selector but for an event?

I use this to select friends for an app invite:

FB.ui(
        {
            method: 'apprequests',
            message: "An invite to compete',
            title: 'App Name'
        }, requestCallback);

Is there something similar to invite friends to an event?

Thanks

Upvotes: 0

Views: 492

Answers (1)

Nitzan Tomer
Nitzan Tomer

Reputation: 164297

The code you showed is of a facebook dialog, you can find all of the available dialogs in the documentation. If you read that, you'll notice that there's no dialog to invite friends to events.

Using the graph api you can invite users to events, but those users need to be users of your app. If your users grant the app with create_event permission then you can invite them. If they grant you with the rsvp_event permission then you can set them as attending, maybe or declined. (more here: Event object)

Upvotes: 1

Related Questions