when msnobject is 0, that means this contact has not set any picture yet.

2012/2/27 <baggiochen1995@sina.com>

Hi,

Thanks for UR great help, I can get some buddy's avatar now, but others, we get the msnobject  value just "0",

how can I get the avatar of these kind of buddy?

 

thanks in advace!
 
----- 原始邮件 -----
发件人:Tiago Salem Herrmann <tiagosh@gmail.com>
收件人:A list for the discussion of libmsn <libmsn-discuss@lists.sourceforge.net>
主题:Re: [Libmsn-discuss] how to retrieve the Avatar
日期:2011年12月08日 23点56分

Hi,
apply the attached patch and change yourbuddy@hotmail.com by the msn
id you want to retrieve the avatar from.
follow the steps:
1) run msntest
2) login using your msn account
3) type: "msg yourbuddy@hotmail.com"
wait and check if the avatar is in /tmp/displayPicture.bin123456
Good Luck.
Tiago
2011/12/8 陈勇 <baggiochen1995@sina.com>:
>
> I used the sample to retrieve avatar in
> Callbacks::buddyJoinedConversation(), but it does not work.
> when I debuged the code, I found that the process do not go to
> "conn->requestDisplayPicture(sessionID++,filename2, lastObject); "
> because of this " if(conn->auth.tag)", and conn->auth.tag always be NULL.
>
> So how can the request method be called?
>
> The second, I want to retrieve the buddy's avatar when I get the buddy list,
> not the time when the buddy's friend send message to him.
> how can I do it?
>
>
> ------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point of
> discussion for anyone considering optimizing the pricing and packaging model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _______________________________________________
> Libmsn-discuss mailing list
> Libmsn-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libmsn-discuss
>
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Libmsn-discuss mailing list
Libmsn-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmsn-discuss