我正在使用Graph API,但我无法弄清楚如何获取登录的用户ID地址 .
Graph的简介说明“图谱API可以访问您通常在网站注册表单中请求的所有基本帐户注册数据,包括姓名,电子邮件地址, Profiles 图片和生日”,但访问它们我需要user_ID所以我怎么能得到它?
https://developers.facebook.com/tools/explorer/?method=GET&path=me%3Ffields%3Did%2Cname&version=v3.0
您需要拥有来自用户的令牌,请查看给定的链接 . 如果您授予自己的 Profiles ,您可以查看可以访问的信息 . This ID is unique to each app and cannot be used across different apps.
1 回答
https://developers.facebook.com/tools/explorer/?method=GET&path=me%3Ffields%3Did%2Cname&version=v3.0
您需要拥有来自用户的令牌,请查看给定的链接 . 如果您授予自己的 Profiles ,您可以查看可以访问的信息 . This ID is unique to each app and cannot be used across different apps.