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 = $ENV{wik
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 wrote:
>
* wkossen [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', 'API::REST'