本文介绍了如何获取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个人资料图片
发布评论