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.
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.
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
Thank you Gordon for the response, Can you please help with any document or any link to achieve that.
Best Answer
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.
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
Best Answer