Facebook.AppDelegate.UpdateStatus C# (CSharp) Method

UpdateStatus() public method

Update Facebook status
public UpdateStatus ( string status ) : bool
status string
return bool
        public bool UpdateStatus(string status)
        {
            System.Net.WebClient wc = new System.Net.WebClient();
            var result = wc.UploadString
                        ("https://graph.facebook.com/me/feed?access_token=" + token
                        , "message=" + status);

            // Expect the result to be a json string like this
            // {"id":"689847836_129432987125279"}
            return result.IndexOf ("id") > 0;
        }