The Twitter REST API v1 is no longer active


Hello Guys, I am implementing twitter API in ASP.Net. I am facing the given issue. I have read al API 1.1 solution but no luck. Please suggest what I need to do.
{“errors”: [{“message”: "The Twitter REST API v1 is no longer active. Please migrate to API v1.1.", “code”: 68}]}.

The following code is implemented by us.

Before Authorization
Works and asking to authorize.

Got error in this step.

oAuthTwt.ConsumerKey = ConsumerKey;
oAuthTwt.ConsumerSecret = ConsumerSecret;
OAuthTokenResponse token1 = OAuthUtility.GetRequestToken(ConsumerKey, ConsumerSecret, Session[“TwtCallback”].ToString());
// OAuthTokenResponse token1 = OAuthUtility.GetAccessToken(ConsumerKey, ConsumerSecret,Request.QueryString[“oauth_token”], “”);
userAccessToken = token1.Token;
userAccessSecret = token1.TokenSecret;
userName = token1.ScreenName;

            OAuthTokens tokens = new OAuthTokens();
            tokens.AccessToken = userAccessToken; // 
            tokens.AccessTokenSecret = userAccessSecret;// userAccessSecret; // 
            tokens.ConsumerKey = ConsumerKey;
            tokens.ConsumerSecret = ConsumerSecret;

            string strTweet = Session["Tweet"].ToString();

           //We got error in below line.
            TwitterResponse<TwitterStatus> tweetResponse = TwitterStatus.Update(tokens, strTweet);


It’s likely that the library you’re using is calling API v1 when executing TwitterStatus.Update. You may need to upgrade the library or modify it yourself to utilize the correct paths. It’s likely calling “” or similar when you need it to use"

See [node:126] for more libraries to use that are 1.1-compatible.


when i executed i got this error…
"{“errors”: [{“message”: “The Twitter REST API v1 is no longer active. Please migrate to API v1.1.", “code”: 68}]}”

how can i solve this error


Hi Ravi,
I faced similar problems. Please refer to my blogpost…


Open the File twitteroauth.php and Just Change the old URL : with URL : .

Its Worked .
If its not working Properly check out your configuration for Consumer Secret key or Twitter API Key .

For Further Guide :
Skype : ITHHKN

can anyone pls share c# code for above creating timeline.

Thank you,


See the new API v1.1 docs for this endpoint here:

Any .NET library which talks to this endpoint should work.