Re: [twitter-dev] Tweeting with Net::Twitter + OAuth

2010-09-30 Thread Neal Rauhauser
I do things precisely in this fashion, works fine for me. Contact me here and I'll look your stuff over if Marc does not get to it first ... It's better to use nrauhau...@gmail.com as opposed to this, which is a very large junk box for me. On Fri, Sep 10, 2010 at 4:37 AM, wkossen

Re: [twitter-dev] Tweeting with Net::Twitter + OAuth

2010-09-30 Thread Willem Kossen
Let's just show the whole script here for easier debugging... #!/usr/bin/perl use strict; use Net::Twitter; use Scalar::Util 'blessed'; use warnings; my $wikiurl; my $wikitxt; my $wikckey; my $wikcsec; my $wikatok; my $wikasec; my $client; my $tweet; $wikiurl = $ENV{wikiurl}; $wikitxt =

[twitter-dev] Tweeting with Net::Twitter + OAuth

2010-09-10 Thread wkossen
What am I doing wrong here? trying to tweet an url and a text to an account... #!/usr/bin/perl use Net::Twitter; # necessary strings are available in environment... $iurl = $ENV{iurl}; $itxt = $ENV{itxt}; $ckey = $ENV{ckey}; $csec = $ENV{csec}; $atok = $ENV{atok}; $asec = $ENV{asec}; # this

Re: [twitter-dev] Tweeting with Net::Twitter + OAuth

2010-09-10 Thread Marc Mims
* wkossen w.kos...@gmail.com [100910 06:45]: my $client = Net::Twitter-new( consumer_key = $ckey, consumer_secret = $csec, access_token = $atok, access_secret = $asec, ); You need to include the OAuth trait: my $client = Net::Twitter-new( traits = ['OAuth',