jpurcell / birdhouse

BirdHouse is a Titanium Developer plugin for authenticating and sending API calls to Twitter.
64 stars 17 forks source link

No tweets will post to twitter. Response from Twitter is "Authorization Needed". #26

Open atljeremy opened 12 years ago

atljeremy commented 12 years ago

As of yesterday, I am not able to post anything to twitter. I can log in successfully, but every time I try to post a tweet it will fail. I printed the error response from twitter and it is as follows...

[INFO] {

error = "Error Domain=ASIHTTPRequestErrorDomain Code=3 \"Authentication needed\" UserInfo=0x9947960 {NSLocalizedDescription=Authentication needed}"; 

source = "[object TiNetworkClient]"; 

type = error; 

}

markruys commented 12 years ago

Could it be the case that you tried to tweet the same message twice? Twitter does not allow you to do so. In the pull request https://github.com/jpurcell/birdhouse/pull/27 I added debug info which prints a debug warning in this case. Also the error message is passed to the callback function as the second argument.

xeijix commented 12 years ago

I'm encountering this issue as well... It works on Android, but not IOS. I've even tested this on with the demo app and it fails. The way it fails is as follows:

HOWEVER, if i exit the app and reenter and the app starts already authenticated, tweeting poses no problems.

I've tested this on SDK version 1.7.5 and 1.8.0.1

Please help!