What am I doing wrong here?
trying to tweet a text to an account.


use Net::Twitter;

use Net::Twitter;

          my $nt = Net::Twitter->new(legacy => 0);

          my $nt = Net::Twitter->new(
              traits => [qw/OAuth API::REST/],
              consumer_key        => $consumer_key,
              consumer_secret     => $consumer_secret,
              access_token        => $token,
              access_token_secret => $token_secret,

        my $res = $nt->update("Hello World!");

I am getting the error Error: Could not authenticate you.

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: 

Reply via email to