OAuthTokenRequest using STTwitterAPI fails
<p>Using following code to get OAuth token but it always fails with error</p>

<blockquote>
  <p>Your credentials do not allow access to this resource</p>
</blockquote>

<p>I have taken following code sample from<br>
<a href="https://github.com/nst/STTwitter/blob/master/demo_cli/reverse_auth/main.m" rel="nofollow noreferrer">https://github.com/nst/STTwitter/blob/master/demo_cli/reverse_auth/main.m</a>  </p>

<p>Even I have allowed Read and Write access in application settings at 
<a href="https://apps.twitter.com/app/XXXX/permissions" rel="nofollow noreferrer">https://apps.twitter.com/app/XXXX/permissions</a><br>
<a href="https://i.stack.imgur.com/jKEdl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jKEdl.png" alt="enter image description here"></a></p>

<pre><code>STTwitterAPI *twitter = [STTwitterAPI twitterAPIWithOAuthConsumerName:nil consumerKey:@"MY CONSUMER KEY" consumerSecret:@"MY CONSUMER SECRET"];
    [twitter postReverseOAuthTokenRequest:^(NSString *authenticationHeader) {

        STTwitterAPI *twitterAPIOS = [STTwitterAPI twitterAPIOSWithFirstAccount];
        [twitterAPIOS verifyCredentialsWithSuccessBlock:^(NSString *username) {

            [twitterAPIOS postReverseAuthAccessTokenWithAuthenticationHeader:authenticationHeader successBlock:^(NSString *oAuthToken, NSString *oAuthTokenSecret, NSString *userID, NSString *screenName) {

                NSLog(@"REVERSE AUTH OK");


            } errorBlock:^(NSError *error) {

                NSLog(@"ERROR, %@", [error localizedDescription]);
            }];

        } errorBlock:^(NSError *error) {
            NSLog(@"ERROR");
        }];

    } errorBlock:^(NSError *error) {
        NSLog(@"ERROR");
    }];
</code></pre>

<p>Any help, where I am going wrong.</p>