nst / STTwitter

A stable, mature and comprehensive Objective-C library for Twitter REST API 1.1
BSD 3-Clause "New" or "Revised" License
999 stars 161 forks source link

STTwitterTwitterErrorDomain on verifyCredentialsWithUserSuccessBlock #219

Closed RaskaSG closed 9 years ago

RaskaSG commented 9 years ago

Hello,

When using twitterAPIAppOnlyWithConsumerKey for app only authentication, when trying to do a verification using verifyCredentialsWithUserSuccessBlock, I receive the following error:

Error Domain=STTwitterTwitterErrorDomain Code=170 "Missing required parameter: grant_type" UserInfo=0x7b85c590 {NSUnderlyingError=0x79f13ce0 "HTTP Status 403: Forbidden", NSLocalizedDescription=Missing required parameter: grant_type}

Any idea what could be causing it or how to fix it?

Thanks!