Friday 15 July 2011

Recovery of the hash avatar on XMPP for facebook -


I am using asmack as a XMPP customer for Facebook chat. With the recovery of the hash of avatar, I have a small problem. Vicards and presence continue to have a different hash for the same picture.

Appearance this piece xml release:

  & lt; Presence = "- 1397017951@chat.facebook.com/ Facebook_9f178c85_4DFBAD2D51CCA" Simple = "- 100001386664684@chat.facebook.com" & gt; Simple chat for & lt; X xmlns = "vcard-temp: x: update" & gt; & Lt; Picture & gt; 4315d3952f68dcc09fe5e2c656e7d73707d950ec & lt; / Photo & gt; & Lt; / X & gt; & Lt; / Attendance & gt;   

A different hash is issued when using the vCard object: 4e935a5e328ddd204f08d4d7159712accaada491

How is an avatar? Do I have to do some other operation to get the same hash?

Can you detect XMPP whether you send it to the server after receiving that presence update Are you

If your subscriber does not recognize Hash, then the server should ask for it. Is this happening?

Is it possible that you are counting the hash based on raw data instead of Base 64 encoded data?

No comments:

Post a Comment