Search code examples
facebookfacebook-chatbot

Facebook App - Add Tester through API?


Is it possible to add a Facebook user to the "Tester" role on a Facebook app through one of the Facebook APIs, without an admin user having to manually add the user to the "Tester" role on the App settings?

Thanks in advance.


Solution

  • The API Reference says yes, and there is example code: https://developers.facebook.com/docs/graph-api/reference/app/roles#publish

    Be aware:

    A user access token for any admin of the app is required.