> Thank you for replying.. I looked at your code and was very quickly > overwhelmed. > > I can (well, used to) update using three lines: > > $twitter_tweet = "tweet out something here"; > $twitter_api = 'curl --basic --user name:password --data status="'. > $twitter_tweet.'" http://twitter.com/statuses/update.xml > /dev/null > 2> /dev/null'; > system ("$twitter_api");
If that's all you really want, and you want to do this with a simple black-box tool and/or with Perl, then you have three options, from my perspective: 1. <plug class="shameless"> Once you have your app key/secret and user token/secret (TTYtter can step you through this), then you can simply post updates with ttytter -status="Your update" TTYtter just needs cURL, which you seem to already have. It has its own hash and signing algorithms built-in. </plug> 2. Decklin's curlicue tool is a wrapper around cURL with all of the OAuth dance. You will need OpenSSL, which is free, for the hash and signing algorithms. Then you can use something reasonably similar to your code above. 3. You can use Net::Twitter and drive it yourself. CPAN will help you download the various dependencies it has. Net::Twitter is simple to use, although it is completely different than what you already have. -- ------------------------------------ personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * [email protected] -- FORTUNE: The moon is in Venus' house. Shortly, there will be planetoids. --- -- 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
