protected void Page_Load(object sender, EventArgs e)
        {
            ITwitterOAuthManager oAuthManager = new TwitterOAuthManager();

            if (oAuthManager.CheckTwitterOAuthRequest(Request.QueryString))
            {
                TwitterBasicProfile result = oAuthManager.Authenticate(Request.QueryString);
                txtHtmlArea.InnerHtml = Server.HtmlEncode(result.ScreenName);
            }
        }
Example #2
0
 protected string GetUrlParamters()
 {
     ITwitterOAuthManager oAuthManager = new TwitterOAuthManager();
     return oAuthManager.GetUrlParameters();
 }