Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Perl Net::OAuth2 example code

Need example code (yes, I have gone through the CPAN docs) to authenticate using Net::OAuth2

I have the following:

  • consumer key
  • consumer secret
  • access key
  • access secret

P.S. I believe generally, you provide the consumer key and secret and receive an access key and secret, but in this case, I already have them.

like image 917
Chris Avatar asked Apr 21 '11 22:04

Chris


1 Answers

Aside from the SYNOPSIS in the POD for Net::OAuth2, which you have already looked at, does the code in the test directory help?

t/01-client.t

If not, you could contact the module author via the email address in the POD and ask for an example.

like image 119
toolic Avatar answered Sep 29 '22 10:09

toolic