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:
- Intercept the redirect above and read the access token out of the URI.
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?