Awesome work Nicholas! I've added a link TwitterOAuth's projects page:
http://github.com/abraham/twitteroauth/wiki/links
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 1, 2010 at 13:29, NdJ nicholas.dej...@gmail.com wrote:
Hi All,
A console application and additional wrapper for Abraham Williams
TwitterOAuth PHP wrapper which makes the process of obtaining OAuth
credentials for plain old single user mode usage a little easier:-
http://www.nicholasdejong.com/story/helper-wrapper-abraham-williams-twitteroauth-php-wrapper
From the README:-
This package has two main components both of which you'll want to
use:-
twitteroauth-helper-console
---
Use the console tool in a shell to create a valid
twitteroauth.credentials file:-
Step 1 - go to Twitter and obtain your API key and secret values.
Step 2 - run the twitteroauth-helper-console tool in a shell.
Step 3 - set your API secret and key using the set_consumer_key and
set_consumer_secret commands within the console tool.
Step 4 - request user authentication using request_user_auth console
command then visit the Twitter URL that is provided in a web browser.
You may need to log into Twitter and you will need to allow your
application.
Step 5 - Using the PIN code that will be displayed in the step above
go back to the console application and use the
verify_user_auth_request command.
Step 6 - Move the twitteroauth.credentials file that has been created
to a safe place.
twitteroauth-wrapper
You don't need to use this wrapper to use the twitteroauth credentials
but it does make things even easier.
All you need to do to make a post is the following:-
include('twitteroauth-helper-wrapper.php');
$TOHW = new TwitterOAuthHelperWrapper('/path/to/credentials.file');
$TOHW-post('statuses/update',array('status'='Hello World!'));
Enjoy,
N
--
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