如何获取每个联系人的个人资料照片 [英] How to get profile pictures of each contact

查看:101
本文介绍了如何获取每个联系人的个人资料照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用Windows Live Connect中的REST API。我可以从用户那里获得所有联系人,但我不明白如何获取他们的个人资料照片。

I'm using the REST API from Windows Live Connect. I can get all contacts from an user but I don't understand how to get their profile photo.


这是我正在使用的手册。  http://msdn.microsoft.com/en-us/library/live/hh243648.aspx


我正在使用范围:  wl.bas ic  和
第一次发送请求 https://apis.live .net / v5.0 / me / contacts

推荐答案

每个联系人将与"user_id"相关联。对于给定的联系人,您可以通过以下方式获取他们的个人资料照片:

Each contact will be associated with a "user_id".  For a given contact you can pull up their profile photo by doing a GET on:

https://apis.live.net /v5.0/<user_id>/picture

https://apis.live.net/v5.0/<user_id>/picture

你可以阅读更多
here。▼

You can read more here.


这篇关于如何获取每个联系人的个人资料照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆