Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Net::Twitter - fatal , but no error?

by tobyink (Abbot)
on Feb 08, 2013 at 13:22 UTC ( #1017814=note: print w/ replies, xml ) Need Help??


in reply to Net::Twitter - fatal , but no error?

The key and secret are not a Twitter username+password combo; they are an OAuth pair, and will be different from what you'd use to log into the Twitter website with your browser.

PS: have you tried enabling debugging in setup perchance?

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name


Comment on Re: Net::Twitter - fatal , but no error?
Re^2: Net::Twitter - fatal , but no error?
by ultranerds (Friar) on Feb 08, 2013 at 13:32 UTC
    Thanks - I'm actually using the OAuth key/secret :) (not what I use to login on the twitter website itself)

    >>PS: have you tried enabling debugging in setup perchance?<<

    In Net::Twitter? I can't see anything about enabling debug on the Cpan POD?

    TIA!

    Andy

      I assume the message about debugging was coming from some sort of web interface that is wrapping your code - your "admin backend"?

      package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
        Ah good point... didn't think of that! Its saying:
        Couldn't load class (Net::Twitter::Role::API::REST) because: Roles do +not currently support ARRAY references for around method modifiers at + /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/Moose/Exporter.pm l +ine 293 Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.10.1/x +86_64-linux/Class/MOP.pm line 114.
        Not too sure what that means? I got the host to upgrade Net::Twitter to the latest version, but that doesn't seem to be helping.

        TIA

        Andy

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017814]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2015-07-06 23:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (85 votes), past polls