如何获取instagram个人资料图片

编程入门 行业动态 更新时间:2024-10-19 11:40:33
本文介绍了如何获取instagram个人资料图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在我的应用中,想将instagram个人资料图片放入他的帐户

in my app use want to put instagram profile pic in his account

我如何以编程方式从Instagram获取用户的个人资料图片

how can I get the Profile Picture of a user from Instagram Programmatically

如:

推荐答案

使用Instagram API用户终结点(api.instagram/v1/users/{user-id}/?access_token=ACCESS-TOKEN ),您会收到这样的回复:

Using the Instagram API users endpoint (api.instagram/v1/users/{user-id}/?access_token=ACCESS-TOKEN ) you will receive a response like this one:

{ "data": { "id": "1574083", "username": "snoopdogg", "full_name": "Snoop Dogg", "profile_picture": "distillery.s3.amazonaws/profiles/profile_1574083_75sq_1295469061.jpg", "bio": "This is my bio", "website": "snoopdogg", "counts": { "media": 1320, "follows": 420, "followed_by": 3410 } }

然后您可以使用profile_picture并使用 Facebook Fresco 进行下载 a>然后会为您显示图像.

You can then take the profile_picture and download it using some like Facebook Fresco which will then display the image for you.

更多推荐

如何获取instagram个人资料图片

本文发布于:2023-10-11 23:05:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1483090.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:个人资料   图片   instagram

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!