def getContactsPublicPhotos(user, count=nil,just_friends=nil,
single_photo=nil, include_self=nil)
user = user.nsid if user.respond_to?(:nsid)
args = {}
args['count'] = count if count
args['user_id'] = user
args['just_friends'] = just_friends ? '1' : '0' if
just_friends != nil
args['single_photo'] = single_photo ? '1' : '0' if
single_photo != nil
args['include_self'] = include_self ? '1' : '0' if
include_self != nil
res=@flickr.call_method('flickr.photos.getContactsPublicPhotos',
args)
return Flickr::PhotoList.from_xml(res,@flickr)
end