07-01-2022 05:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-01-2022 05:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-01-2022 07:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
07-03-2022 23:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-03-2022 23:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thank you Gordon for the response, Can you please help with any document or any link to achieve that.

07-06-2022 08:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-06-2022 08:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

