Re: [twitter-dev] oAuth and applications that run in the background

2010-09-08 Thread Cameron Kaiser
 I have an application (PHP script), that runs as a CRON job on a Linux
 server. It uses cURL and basic authentication to retrieve users
 profiles and statuses.
 
 Now that basic authentication is no longer supported, I need to switch
 to oAuth, but with oAuth, there's a level of interactivity with
 Twitter, to login. This is not an option for this script, since it has
 no user interface.
 
 Any ideas how to proceed?

You need to get your own app key and token from dev.twitter.com. With that,
you can plug it into any number of OAuth tools. Since you are using PHP,
Abraham's Twitteroauth would be the best bet (see

http://github.com/abraham/twitteroauth

).

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- FORTUNE: You will feel gypped by this fortune. -

-- 
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?hl=en


Re: [twitter-dev] oAuth and applications that run in the background

2010-09-08 Thread Abraham Williams
Here is some more info about using an access token for a single account:
http://dev.twitter.com/pages/oauth_single_token

Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.


On Wed, Sep 8, 2010 at 20:34, Cameron Kaiser spec...@floodgap.com wrote:

  I have an application (PHP script), that runs as a CRON job on a Linux
  server. It uses cURL and basic authentication to retrieve users
  profiles and statuses.
 
  Now that basic authentication is no longer supported, I need to switch
  to oAuth, but with oAuth, there's a level of interactivity with
  Twitter, to login. This is not an option for this script, since it has
  no user interface.
 
  Any ideas how to proceed?

 You need to get your own app key and token from dev.twitter.com. With
 that,
 you can plug it into any number of OAuth tools. Since you are using PHP,
 Abraham's Twitteroauth would be the best bet (see

http://github.com/abraham/twitteroauth

 ).

 --
  personal:
 http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
 ckai...@floodgap.com
 -- FORTUNE: You will feel gypped by this fortune.
 -

 --
 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?hl=en


-- 
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?hl=en