11-01-2022 09:01 - edited 11-01-2022 09:02
11-01-2022 09:01 - edited 11-01-2022 09:02
2 related questions:
1. Does my App have to create a userRevokedAccess subscription for each user? It seems to me if an App wants this they would want for all users, so it would make sense to make this a global subscription?
2. Do I subscribe to userRevokedAccess using the SAME subscription ID that I use for 'activities' collection or do I create different subscription IDs for each collection?
Best Answer11-01-2022 12:51
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
11-01-2022 12:51
Hi @eglobal
The documentation isn't very clear on this topic. I'll see what I can do to improve it. To answer your questions
1. Fitbit will automatically create the "userRevokedAccess" subscription when no collection is specified. When you don't specify a collection, the user will need to enable the activity, nutrition, profile, settings, sleep and weight scopes. If you specify the collection, you will need to create a subscription for the userRevokedAccess collection, as well.
2. You will use a unique subscription Id for "userRevokedAccess"
Best Answer