Ok, folks, this is driving me out of my mind and I need some help.

I'm running a simple CRON job in Rails, that will be used to manage a 
Twitter List. For some reason, whenever I call a protected method, I get a 
401 error. I'm using a single access token, and have triple checked that the 
app and oauth tokens are correct. Code snippet is simple:

  client = Twitter::Client.new(
    :consumer_key => 'CK',
    :consumer_secret => 'CS',
    :oauth_token => 'OT',
    :oauth_token_secret => 'OS')

  client.list_add_member 'myuser', 'automotive', 

Throws the error:
401: Could not authenticate with OAuth.

>From the Nunemaker docs, this should be trivial. What am I missing?

Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 

Reply via email to