Bug 40388 - facebook avatars don't work
Summary: facebook avatars don't work
Status: RESOLVED WORKSFORME
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 00:06 UTC by Alexander Larsson
Modified: 2011-10-03 06:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.