-1
我想要使用goggleapi从Googlefit中检索用户配置文件信息。但我没有找到任何网址端点的用户配置文件。请任何人都可以建议如何检索配置文件?Googlefit API集成获取用户配置文件
我想要使用goggleapi从Googlefit中检索用户配置文件信息。但我没有找到任何网址端点的用户配置文件。请任何人都可以建议如何检索配置文件?Googlefit API集成获取用户配置文件
在请求访问代码的同时设置用户加个人资料和user.info的范围,并且您将能够获取用户信息。
我已经提供了这些范围“https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/fitness.activity.read https://www.googleapis.com /auth/fitness.activity.write https://www.googleapis.com/auth/fitness.body.read https://www.googleapis.com/auth/fitness.body.write https://www.googleapis。 com/auth/fitness.location.read https://www.googleapis.com/auth/fitness.location.write“但是我没有找到一个url结尾poitn来获取用户配置文件,如gplus中的”https:// www .googleapis.com/plus/v1/people/me /?access_token = {YOUR_ACCESS_TOKEN}。 –
使用https://www.googleapis.com/auth/userinfo.email作为另一个范围来获取电子邮件 –