Bug 40388

Summary: facebook avatars don't work
Product: Telepathy Reporter: Alexander Larsson <alexl>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED WORKSFORME QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Alexander Larsson 2011-08-26 00:06:10 UTC
I don't seem to be getting any avatars for my facebook xmpp account.
This post indicates that maybe facebook is sending an invalid reply:

http://stackoverflow.com/questions/4132010/xmpp-photo-type-is-not-given-in-response-when-requested

If its not possible to get the facebook avatars via xmpp maybe we could use a direct http url to download the avatar:

http://stackoverflow.com/questions/6799288/how-to-get-link-avatar-facebook-direct-by-id
Comment 1 Will Thompson 2011-10-03 06:50:13 UTC
I've just tested, and it seems this has been fixed on Facebook's side:

_end_element_ns: Received stanza
* iq xmlns='jabber:client' from='-<redacted>@chat.facebook.com' to='will.joseph.thompson@chat.facebook.com/b756e715_3fcfe842_4AE62CA0B8312' id='44302306987' type='result'
    * vCard xmlns='vcard-temp'
        * FN
            "<redacted>"
        * PHOTO
            * TYPE
                "image/jpeg"
            * BINVAL
                "/9j/4AAQSkZJRgABAQAAAQABAAD//etcetcetc"

(Also: that's a *delicious* resource right there.)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.