Changeset 61

Show
Ignore:
Timestamp:
05/05/05 18:35:35 (4 years ago)
Author:
ogawa
Message:

fix for a wrong API key

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FlickrPublicPhotos/trunk/FlickrPublicPhotos.pl

    r60 r61  
    1717    $plugin->name("FlickrPublicPhotos Plugin"); 
    1818    $plugin->description("Add FlickrPublicPhotos container and related tags. Version 0.10"); 
    19     $plugin->doc_link("http://as-is.net/hacks/2005/05/flickr_public_photos.html"); 
     19    $plugin->doc_link("http://as-is.net/hacks/2005/05/flickrpublicphotos_plugin.html"); 
    2020    MT->add_plugin($plugin); 
    2121}; 
     
    9595use base 'Flickr::API'; 
    9696use XML::Parser::Lite::Tree::XPath; 
    97 use constant API_KEY => ' 9765114fb37045ea8d2ca9d813e24b63'; 
     97use constant API_KEY => '9765114fb37045ea8d2ca9d813e24b63'; 
    9898 
    9999sub new { 
     
    102102} 
    103103 
    104 sub nsid { 
     104sub resolve_nsid { 
    105105    my $class = shift; 
    106106    my ($uname) = @_; 
     
    120120    my ($uname) = @_; 
    121121    my @photos = (); 
    122     my $nsid = $class->nsid($uname); 
     122    my $nsid = $class->resolve_nsid($uname); 
    123123    my $rsp = $class->execute_method('flickr.people.getPublicPhotos', 
    124124                                     { user_id => $nsid });