FacebookClient fb = new FacebookClient(App.AccessToken); fb.PostCompleted += (o, e) => { if (e.Error != null) { Dispatcher.BeginInvoke(() => MessageBox.Show(e.Error.Message)); return; } var result = (IDictionary<string, object>)e.GetResultData(); Dispatcher.BeginInvoke(() => { MessageBox.Show("Posted Open Graph Action, id: " + (string)result["id"], "Result", MessageBoxButton.OK); }); };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)