Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
ramtin #1
User title: RamTin
Member since Mar 2013 · 26 posts
Group memberships: Members
Show profile · Link to this post
Subject: retrieve avatar
Hi alex,
c#
agsXMPP

i search in forum and i test all of way but doesn't work on Nimbuzz! (can't get vcard)

i want to retrieve avatar from Nimbuzz Server, i found xml for get avatar from it but is different

see :

  1. Read>   <iq xmlns="jabber:client" to="MyUser@nimbuzz.com/AAAAAAA" id="NAvatReq" type="result" from="avatar.nimbuzz.com"><avatar xmlns="nimbuzz:avatar" jid="MMUser@nimbuzz.com" sid="GRFUonmo" md5="1392896457395" /></iq>
  2.  
  3. Read>   <iq xmlns="jabber:client" to="MyUser@nimbuzz.com/AAAAAAA" id="474-450561706" type="set" from="avatar.nimbuzz.com"><si xmlns="http://jabber.org/protocol/si" id="GRFUonmo" mime-type="image/png24" profile="http://jabber.org/protocol/si/profile/file-transfer"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="YnVzaGVocjFAbmltYnV6ei5jb20=.png24" size="8329" /><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="form"><field var="stream-method"><option><value>http://jabber.org/protocol/ibb</value></option></field></x></feature></si></iq>

tell me how can i retrieve this ?
Thank you

Ramtin.
This post was edited on 2014-02-20, 13:16 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
the log you posted does no vcard stuff at all.
See here, or in the MiniClient example how to retrieve a VCard:
http://forum.ag-software.net/thread/657-Getting-Photo-from…

Alex
Avatar
ramtin #3
User title: RamTin
Member since Mar 2013 · 26 posts
Group memberships: Members
Show profile · Link to this post
response xml is all of that !

in nimbuzz you can't get VCARD (was disabled 3 years ago), in nimbuzz can get Profile but profile just is "Username","Nickname","Status", "Gender","Birthday" and "location".

i told you before, i test all of them but doesn't work on nimbuzz ( i saw miniclinet and that thread).

thanks
This post was edited on 2014-02-20, 13:46 by ramtin.
Avatar
Alex #4
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Sorry, but when Nimbuzz does not follow the XMPP standards and has their own extensions which are not documented then I cannot help you on this. Only reverse engineering will help then I guess.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS