Where is 'profile_url'?

Aug 1, 2009 at 12:33 AM
Edited Aug 1, 2009 at 1:36 AM


I want to get the user's FB profile page url.  Some people have usernames that show in their link, so I don't want to just concatenate their uid to the profile.php page.

From what I've seen in other API's, the 'profile_url' field is where they get this url; however, I can't find it in user_info.



Aug 1, 2009 at 1:37 AM
Edited Aug 1, 2009 at 1:38 AM

Well, I'm able to get it by this code. But is there a quicker way???


user info = api.users.getInfo();

for (int x = 0; x < info.Untyped.Elements().Count(); x++)


            Response.Write(info.Untyped.Elements().ElementAt(x).Value+ "<br />");