#11 ✓resolved
Lee Martin

status post throwing unauthorization error

Reported by Lee Martin | April 1st, 2009 @ 12:13 PM

My users login fine, but when trying to post to Twitter I get the following:

"TwitterAuth::Dispatcher::Unauthorized: The credentials provided did not authorize the user."

vendor/plugins/twitter-auth/lib/twitter_auth/dispatcher/shared.rb:23:in handle_response' vendor/plugins/twitter-auth/lib/twitter_auth/dispatcher/oauth.rb:22:inrequest'
app/controllers/tracks_controller.rb:77:in `post_status'

Using the README tip:

current_user.twitter.post('/statuses/update.json', 'status' => params[:status])

This error only occurs on my production server, works fine locally.

Comments and changes to this ticket

  • Michael Bleigh

    Michael Bleigh April 4th, 2009 @ 10:58 PM

    Lee,

    I don't have too much experience with UTF-8 characters and the like. I'm open to any patches related to this issue but I'm not sure exactly what the problem is. When I have some time I'll see if I can experiment a bit myself. If it works locally, is there a difference perhaps in the encodings of a database on your production side?

  • Michael Bleigh

    Michael Bleigh April 10th, 2009 @ 02:31 AM

    • State changed from “new” to “resolved”

    This may actually have been a Twitter API issue: http://code.google.com/p/twitter...

    Can you try again and see if you're still having problems? Reopen if so.

  • Chris O'Sullivan

    Chris O'Sullivan June 8th, 2009 @ 05:42 AM

    I'm suffering from the same problem as Levent - I keep getting "The credentials provided did not authorize the user" when posting a status to Twitter.

    Any ideas?

  • Elad Meidar

    Elad Meidar July 6th, 2009 @ 04:14 PM

    • Assigned user set to “Michael Bleigh”

    Seriously ? i have to delete my app ? what about all the users i have?

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A full-stack authentication system for Rails that uses Twitter.

People watching this ticket

Pages