07-01-2022 05:22
07-01-2022 05:22
Hi,
I am working on a project where I need to fetch friends lists and their complete data through web API.
I was able to get a friends list response, from that I am taking userId and tried to get sleep data. But I am getting the following error.
07-01-2022 07:02
07-01-2022 07:02
Hi @tgt.androidapps ,
The friends scope only grants your application access to the user's friends list. It does not grant you access to their friend's data. Those users will need to specifically grant you access to their data using your application's Fitbit authorization flow.
Gordon
07-03-2022 23:57
07-03-2022 23:57
Thank you Gordon for the response, Can you please help with any document or any link to achieve that.
07-06-2022 08:08
07-06-2022 08:08
The information on the Get Friends endpoint is https://dev.fitbit.com/build/reference/web-api/friends/get-friends/. It states you receive a list of the user's friends. If you're looking for something else, please clarify for me.
Gordon