问题描述
您好,
有时我想通过xmpp vcard请求获取朋友头像,但无法获得专家结果,步骤如下:
Sometimes I want get friend avatar by xmpp vcard request, but can't get expert result, Step as follow:
已发送:
< iq id =" ; 52"类型= QUOT;获得" to =" [CID] @ messenger.live.com">< vCard xmlns =" vcard-temp" />< / iq>
收到:
< iq from =" [CID] @ messenger.live.com" ID = QUOT; 52"到= QUOT; [CID] @ messenger.live.com / {db44b618-efdf-4d52-8a38-cb5ee3b574d7}" type =" result">< vCard xmlns =" vcard-temp">< FN> [Name]< / FN>< / vCard>< / iq>
Sent:
<iq id="52" type="get" to="[CID]@messenger.live.com"><vCard xmlns="vcard-temp"/></iq>
Receive:
<iq from="[CID]@messenger.live.com" id="52" to="[CID]@messenger.live.com/{db44b618-efdf-4d52-8a38-cb5ee3b574d7}" type="result"><vCard xmlns="vcard-temp"><FN>[Name]</FN></vCard></iq>
后面数据字符串中没有照片结果,确定该人已定义了他的头像,你可以通过Messenger 2012看到它。
No photo result in the back data string, sure that the guy has defined his avatar, you can see it by Messenger 2012.
所以为什么?无论如何得到朋友头像?
So why?Is there anyway to get friend avatar?
推荐答案
谢谢,
比尔
这篇关于无法通过xmpp vcard请求获取vcard照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!