Take the 2-minute tour ×

I have a facebook chat application which has successfully populated a list of users online.

I want to be able to get the graph api userid of a specific user online using their jid.

Is this possible to do?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You should just be able to take the first part of the JID (the part before the @chat.facebook.com) and go to https://graph.facebook.com/FIRSTPART and you'll get the basic information (including user ID) for the user. For more on the Graph API, check out documentation.

share|improve this answer
thanks Genesis, i did exactly that. –  T-basket Dotcodotuk Jul 23 '11 at 9:16
add comment

Your Answer


