[Ilugc] Xmpp4r for Facebook

  • From: viky.nandha@xxxxxxxxx (விக்னேஷ் நந்த குமார் (Vignesh Nandha Kumar))
  • Date: Mon, 5 Sep 2011 21:26:10 +0530

On Mon, Sep 5, 2011 at 7:36 PM, Prasanna Venkadesh <prasmailme at 
gmail.com>wrote:

2011/9/5 ???????? ???? ?????? (Vignesh Nandha Kumar) <
viky.nandha at gmail.com>

Hi,

Regarding not able to chat with others, Facebook uses the uid (an integer
id) as the primary identifier. So it has to be uid at chat.facebook.com, i
guess.


Yes ofcourse, facebook uses the User id(uid) as the primary identifier as
well as an username it uses.. for example my username is 'prashere' and i
will always use my Email to log in into facebook, in order to use facebook
chat from other clients like PIDGIN, EMPATHY..etc we can be able to login
using Username itself, that is working in PIDGIN via xmpp but not in my
ruby
application, thats what am wondering


Oh, I guess my reply was ambiguous. You can use the username or email id to
login but the chat client should use the uid for getting any data (chat, for
example) from facebook. In  empathy, you can see that the previous
conversations dialog shows the users by uid, not username or name. It's a
bug with empathy but at least it helps understanding it ;)

So you have to check if the ruby gem uses uid for sending and fetching chat
messages.

HTH :)

-- 
Vignesh Nandha Kumar

Other related posts: