So, I've just downloaded and installed the Facebook Developer Toolkit on my Virtual Studio. However, the sample code doesn't seem to work. The program seems to run fine, but I end up with an empty list and, therefore, no printout. It's hard to diagnose because
I don't get an error message.
Any body out there experienced the same and solved it? I'm going nuts here...
This is what code I'm looking at: (I had to slightly modify the sample code to get it to run)
private const string apikey = "f46138a4-My-Key-bea1b9f88f5";
private const string apisecret = "83d70e193ef-My-Secret-580d4";
static void Main(string args)
facebook.Components.FacebookService _fbService = new facebook.Components.FacebookService();
_fbService.ApplicationKey = apikey;
_fbService.Secret = apisecret;
// GetFriends() stores all User attributes in a Collection
IList<long> friends = _fbService.friends.getAppUsers(); // this will automatically trigger _fbService.ConnectToFacebook()
foreach (long u in friends)