I'm building an out of browser Silverlight app and trying to use the Facebook Graph API, but I'm having trouble getting through the authentication round trip.
I've gone through their Desktop Application Authentication process:
http://developers.facebook.com/docs/authentication/desktop
But I'm stuck on this step:
I've tried adding an event handler to the LoadCompleted event of my WebBrowser control, but NavigationEventArgs.Uri is always null:
How am I supposed to get an access token from Facebook if I can't get the current URI out of WebBrowser?
Go here and get the silverlight sample app from the Facebook C# SDK on Codeplex.
http://facebooksdk.codeplex.com/
Get the source and you will see the samples. There will be a full release in the next few days with separate downloads for each sample.