public override void OnComplete(String response, Object state)
 {
     if (response.Equals("true"))
     {
         Log.Debug("Facebook-Example", "Successfully deleted wall post");
         parent.RunOnUiThread(delegate {
             parent.mDeleteButton.Visibility = (ViewStates.Invisible);
             parent.mText.Text = ("Deleted Wall Post");
         });
     }
     else
     {
         Log.Debug("Facebook-Example", "Could not delete wall post");
     }
 }
            public override void OnComplete(String response, Object state)
            {
                Log.Debug("Facebook-Example", "Got response: " + response);
                String message = "<empty>";

                try {
                    var json = (JsonObject)JsonValue.Parse(response);
                    message = json ["message"];
                    //} catch (JSONException e) {
                    //	Log.Warn ("Facebook-Example", "JSON Error in response");
                } catch (FacebookError e) {
                    Log.Warn("Facebook-Example", "Facebook Error: " + e.Message);
                }
                String text = "Your Wall Post: " + message;

                parent.RunOnUiThread(delegate {
                    parent.mText.Text = (text);
                });
            }
            public override void OnComplete(String response, Object state)
            {
                try {
                    // process the response here: (executed in background thread)
                    Log.Debug("Facebook-Example", "Response: " + response.ToString());
                    var    json = (JsonObject)JsonValue.Parse(response);
                    String src  = json ["src"];

                    // then post the processed result back to the UI thread
                    // if we do not do this, an runtime exception will be generated
                    // e.g. "CalledFromWrongThreadException: Only the original
                    // thread that created a view hierarchy can touch its views."
                    parent.RunOnUiThread(delegate {
                        parent.mText.Text = ("Hello there, photo has been uploaded at \n" + src);
                    });
                    //} catch (JSONException e) {
                    //	Log.Warn ("Facebook-Example", "JSON Error in response");
                } catch (FacebookError e) {
                    Log.Warn("Facebook-Example", "Facebook Error: " + e.Message);
                }
            }