[twitter-dev] Re: 401 error from CRON job

2011-06-09 Thread tomofo
Apigee is a proxy to Twitter; gives you significantly higher usage caps. 

I replaced my Apigee Id with 111.

The real question is: has anyone used Apigee and Twitter for protected 
functions like status updates or (as I'm trying to do) add users to a list.


-- 
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: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] 401 error from CRON job

2011-06-08 Thread tomofo
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', 
Twitter.user(otheruser).id

Throws the error:
GET 
http://twitter-api-app11.apigee.com/1/account/verify_credentials.json: 
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: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Search filtered by Twitter List

2011-04-07 Thread tomofo
Is there today, or are plans in place, to support filtering a Twitter search 
to a Twitter List?

The app that I'm developing helps users build Twitter lists, and filter 
those lists. I need some way to search through the tweet stream from list 
members.


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


Re: [twitter-dev] Using Oauth and @anywhere together

2011-02-27 Thread tomofo
Any update? It's been almost a year...

Seems inconceivable that the two OAuth methods would be incompatible... The 
ease of use of the Javascript @anywhere widgets, with social signon, feels 
like something that lots of folks would be looking for. If not this combo, 
what is the current best practice if we want user authentication using 
Twitter signon, and then snazzy UI widgets for follow/tweet/etc?

Thanks!

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