Pikeo::API::Photo - Abstraction of a pikeo photo
Returns a Pikeo::API::Contact object.
Required args are:
api
Pikeo::API object
from_xml
XML::LibXML node containing the contacts definitions
Photo id
List of Pikeo::API::Comment objects representing the photo comments.
Change the privacy level of the photo.
Required args:
access_type
The "access_type" is chosen from :
0 for private 2 for friends only 4 for family only 6 for friends and family only 7 for publicAuthentication is required.
Optional args:
force_quit_group
force_quit_group allow you to decide if photos can quit groups automatically.
It happens when photo privacy change to a more private level that does not correspond to group accessibility.
Adds a comment to the photo
text
The text of the comment
in_reply_to
Pikeo::API::Comment parent comment
parent_id
id of the parent comment
Pikeo::API::User that owns the photo
Returns the url for the photo thumbnail of the given size.
Size can be one of the following:
1016x762 500x400 200x150 96x72 75x75 50x50
Return full url to the original photo file
To install Pikeo::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pikeo::API
CPAN shell
perl -MCPAN -e shell install Pikeo::API
For more information on module installation, please visit the detailed CPAN module installation guide.