k80sg
k80sg

Reputation: 2473

Facebook event + rsvp attending

I am trying to invite users to a Facebook event using fb.api:

FB.api('/345345345345453/attending', 'post', function (data) {
                    console.log(data);
                });

I also tried this but no help too:

FB.api('/345345345345453/attending&access_token + '/ACCESSTOKEN'', 'post', function (data) {
                    console.log(data);
                });

I get a message in my log saying:

"(#100) User must be able to RSVP to the event."

Can anyone help. Thanks.

Upvotes: 1

Views: 1775

Answers (2)

cpilko
cpilko

Reputation: 11852

If you want to invite users, you should be using invited not attending. See the documentation. Using attending automatically marks them as attending your event.

Upvotes: 1

k80sg
k80sg

Reputation: 2473

Ok happen that I created a Facebook event that is 'SECRET'.

Upvotes: 0

Related Questions