tags:

views:

121

answers:

1

Hi all,

I am building a small facebook application, in which I am performing the following: The user fills out his friend's names (using friend selector), What I want to do next is retrieve the friend's user ID based on their user name. Is it possible? Can I query a user by its name and receive his id?

A: 

No because names aren't unique. What you could do though is capture the UIDs that the friend is submitting, because even though it looks like names, what he's really doing is picking out UID's. Then, even without your app being approved, you can query some basic data (first, last, locale, profile url)

Alex Mcp
I am using a control that holds the user's name, when trying to read the values it has got I get the string user names the user has submited. How else can I approach this issue?
vondip