[Bug 41003] New: Insert Facebook profile URL into Facebook Chat contacts’ ContactInfo
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 19 11:31:33 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=41003
Summary: Insert Facebook profile URL into Facebook Chat
contacts’ ContactInfo
Product: Telepathy
Version: git master
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: gabble
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: will.thompson at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
I thought it might be nice to make Facebook Chat contacts’ information dialogs
a little less sparse, so I had a quick crack at faking up their profile URL.
(It relies on JIDs being of the form "-<digits>@chat.facebook.com", where
https://www.facebook.com/profile.php?id=<digits> is their profile URL. There
seems to be no way to get pretty https://www.facebook.com/<username> URLs.)
http://cgit.collabora.com/git/user/wjt/telepathy-gabble-wjt.git/commit/?h=facebook-url
is my work in progress. It’s kind of tedious because right now the code that
builds the ContactInfo structure doesn’t have access to the connection object
to inspect the handle, or indeed to check whether we’re on a Facebook
connection.
The other option would be to artificially insert a <URL/> element into the
vCard, which might be neater maybe?
I’m not really working on this, it was just on a whim.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list