3
我試圖找到一種解決方法,以便我不必每次按下允許按鈕時使用Twitter API。Twitter應用程序使用C#使用OAuth令牌
if (Request["oauth_token"] == null)
{
//Redirect the user to Twitter for authorization.
//Using oauth_callback for local testing.
oAuth.CallBackUrl = "http://localhost";
Response.Redirect(oAuth.AuthorizationLinkGet());
}
在代碼示例上面,我只是得到一個OAuth憑證但Twitter要我確認我要允許訪問。有沒有解決方法,以便我不必接受?