Subject: | Google-Voice-0.05 cannot log in to google account if 2 step verification is enabled |
Date: | Wed, 30 Nov 2011 13:25:23 -0800 |
To: | bug-Google-Voice [...] rt.cpan.org |
From: | Joe Orr <joeorr4 [...] gmail.com> |
After enabling 2 step verification in my google account, I can no longer
use Google::Voice to send automated texts.
Application-specific passwords do not work either.
Error: Can't call method "send_sms" on an undefined value at
../google-voice/test.pl line 12.
Code:
#!/usr/bin/perl -w
use strict;
use Google::Voice;
my $number = '5551234567';
my $message = 'test';
# Login
my $account = Google::Voice->new->login('user', 'pass');
# Send sms
$account->send_sms($number => "$message"); #---- LINE 12
perl -v: This is perl 5, version 12, subversion 4 (v5.12.4) built for
i686-linux-gnu-thread-multi-64int
Google::Voice version: 0.05