Facebook API. Attend to the event

后端 未结 1 1820
春和景丽
春和景丽 2021-01-27 17:19

I would like to make possibility for attending to event in Facebook feed view in my app. Is it possible by POST-request of Graph API?

相关标签:
1条回答
  • 2021-01-27 17:35

    IF it´s still possible, then by just doing a POST request to the attending endpoint. For example, with the JS SDK:

    FB.api('/[event-id]/attending', 'POST', function(response){
        console.log(response)
    });
    

    Afaik it was possible earlier, and you would need the rsvp_event permission for this.

    Edit: I just tried it in the API Explorer, it definitely works: https://developers.facebook.com/tools/explorer/?method=POST&path=[event-id]%2Fattending&version=v2.5 (of course you need to replace the event ID)

    0 讨论(0)
提交回复
热议问题