Mar 20, 2010 at 2:54 PM
Edited Mar 20, 2010 at 3:15 PM
I have created a bare bones app and published it on facebook.
Once logged in you will see a button. If you press that button a MessageBox will pop up telling you the number of friends you have.
On Windows it works on all browsers. On MacOs it only works in Safari. Tested on several Mac's.
I have zipped the code for the bare bones silverlight app and uploaded it here in case someone wants to take a look:
This is something so basic that I am really surprised it does not work and that no one has run into this before.
All I am basically doing:
private void Test_Click(object sender, RoutedEventArgs e)
_facebookAPI.Friends.GetUserObjectsAsync(_facebookAPI.Session.UserId, AsyncDemoCompleted, null);
private void AsyncDemoCompleted(IList<user> result, Object state, FacebookException e)
if (e != null)
MessageBox.Show("AsyncDemoCompleted. Users: " + result.Count.ToString());