require_once('twitteroauth.php');
$connection = new TwitterOAuth('app consumer key', 'app consumer
secret', 'my access token', 'my access token secret');
$connection->format = 'xml';
$result = $connection->post('statuses/update', array('status' =>
$message));
$resultArray = $connection->http_info;


This is my script. I stole it from someone on this group. Much
appreciated. I registered my app and got the consumer key and secret
consumer key. As I understand it I also require 2 tokens to
authenticate with oauth and typically from the apps I've already built
these are generated when I log in. However, i don't want to have to
log in there I just want to genereate a feed that I can compare to a
criteria and output should it match that criteria. This script looks
promising but how do I get those tokens?

Any help would be appreciated.


Thanks,
Mike the Pike

-- 
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

Reply via email to