Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Flickr OAuth module and testingby CountZero (Bishop) |
on May 21, 2015 at 06:25 UTC ( [id://1127305]=perlquestion: print w/replies, xml ) | Need Help?? |
CountZero has asked for the wisdom of the Perl Monks concerning the following question:
Dear Brothers and Sisters in Perl! I have written (the basics of) a module to perform OAuth authentication on Flickr. There are already a few modules that can do this but they all use the old API and I wanted to write one that is more up-to-date. Anyhow, it basically works (except for a few hickups), so I thought it might be a candidate for CPAN. However, as this module is all about OAuth authentication, any tests I write will have to contact the Flickr server and ... authenticate. Putting IDs and passwords in the module doesn't seem a good thing to do. The only way out of this seems to open a "dummy" account on Flickr and using that. That will protect my personal account but will allow anyone to put anything on Flickr under an account I have opened. Anyone has a better solution? CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James My blog: Imperial Deltronics
Back to
Seekers of Perl Wisdom
|
|