无法通过xmpp vcard请求获取vcard照片 [英] Can not get vcard photo by xmpp vcard request

查看:87
本文介绍了无法通过xmpp vcard请求获取vcard照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

   有时我想通过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?

推荐答案

所以你正确得到了好友的名字,只是不是用户牌?

So you are correctly getting the buddy's name, just not the user tile?

谢谢,

比尔


这篇关于无法通过xmpp vcard请求获取vcard照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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