Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            _oauth["consumer_key"]    = MY_APP_SPECIFIC_CONSUMER_KEY;
            _oauth["consumer_secret"] = MY_APP_SPECIFIC_CONSUMER_SECRET;
            _oauth.AcquireRequestToken(URL_REQUEST_TOKEN, "POST");

            var url = SERVICE_SPECIFIC_AUTHORIZE_URL_STUB + _oauth["token"];

            webBrowser1.Visible = true;
            webBrowser1.Url     = new Uri(url);
            // FOR EXTERNAL BROWSER: System.Diagnostics.Process.Start(url);

            //testSubmit();
        }