我已经阅读了instagram开发人员文档,并尝试了这个最可能的端点
https://api.instagram.com/v1/users/user-id?access_token=ACCESS-TOKEN
https://api.instagram.com/v1/users/self?access_token=ACCESS-TOKEN
我可以得到结果,但是没有返回电子邮件地址。是否有黑客可以绕过此端点获取instagram电子邮件地址?
我需要这个来进行instagram登录和注册。
最佳答案
不,在Instagram中不能使用。 API 不要始终返回用户电子邮件。
示例
请求URL
https://api.instagram.com/v1/users/{user-id}/?access_token=ACCESS-TOKEN
输出响应
{
"data": {
"id": "1574083",
"username": "snoopdogg",
"full_name": "Snoop Dogg",
"profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1574083_75sq_1295469061.jpg",
"bio": "This is my bio",
"website": "http://snoopdogg.com",
"counts": {
"media": 1320,
"follows": 420,
"followed_by": 3410
}
}
更多information
关于ios - 检索Instagram用户的电子邮件地址,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34176597/