I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-09-08 15:45:48.414316-07 by suzie99
Net::Twitter 'update' call doesn't work
Hi,
I've been using a Perl script to post to twitter for a long time. About a week ago it stopped working. Here are the script and the execution results. Any help will be highly appreciated. Thanks very much!

#!/usr/bin/perl -w use Net::Twitter; $twitter_username = "my-email-address"; $twitter_password = "my-twitter-password"; $twitter_message = "this is a test"; my $t = Net::Twitter->new({user=>$twitter_username, pass=>$twitter_password}); print "Debug: Handle: $t\n"; my $result = $t->update($twitter_message); print "Debug: Twitter posting results: $result\n";

$ ./twitter.pl Debug: Handle: Net::Twitter::with__Legacy=HASH(0x8f1edd4) Use of uninitialized value in concatenation (.) or string at ./twitter.pl line 13. Debug: Twitter posting results:
Direct Responses: 12928 | Write a response
Posted on 2010-09-08 16:03:07.304482-07 by semifor in response to 12927
Re: Net::Twitter 'update' call doesn't work

As of August 31st, Twitter no longer supports Basic Authentication.
Twitter's announcement


Both Net::Twitter and Net::Twitter::Lite support OAuth, so it should be a fairly easy switch. This might help:
Net::Twitter OAuth example


Also, see the examples directory in the Net::Twitter and ::Lite distributions.


You should subscribe to the Twitter Announcement List:
Twitter API Announce List


And follow @twitterapi and @perl_api.


This change was announced months in advance and discussed heavily before the change became effective.


-Marc

Direct Responses: 12929 | Write a response
Posted on 2010-09-08 22:43:17.728886-07 by suzie99 in response to 12928
Re: Net::Twitter 'update' call doesn't work
Thanks, Marc! Appreciate your help.
Direct Responses: Write a response