This project is read-only.

Service.Users.GetUsers returns null

Jun 30, 2009 at 1:57 AM
Edited Jun 30, 2009 at 2:39 PM

Hi,

I am new to the Facebook API.  I am playing around trying to find out how to use this API.  Below I will describe my problem.

When I make a call to GetFriends, I get the Ids for the users. When I execute the following command, the users object is null.

     ICollection
<string> friendIds =
          fbApplication.Service.Friends.GetFriends(
FriendFilter.AllFriends);

     ICollection<User> users =
          fbApplication.Service.Users.GetUsers(friendIds,
"uid,name");

Can someone tell me why this is happening?  I am going crazy trying to figure this out. 

Thanks in advance.