Flickrex.Flickr.Photosets.Comments (flickrex v0.8.1) View Source
Link to this section Summary
Functions
Add a comment to a photoset.
Delete a photoset comment as the currently authenticated user.
Edit the text of a comment as the currently authenticated user.
Returns the comments for a photoset.
Link to this section Types
Specs
arg() :: String.Chars.t()
Specs
operation() :: Flickrex.Operation.Rest.t()
Specs
opts() :: Flickrex.Rest.args()
Link to this section Functions
Specs
Add a comment to a photoset.
This method requires authentication with "write" permission.
Arguments
photoset_id- The id of the photoset to add a comment to.comment_text- Text of the comment
Example response
%{"comment" => %{"id" => "97777-12492-72057594037942601"}, "stat" => "ok"} Specs
Delete a photoset comment as the currently authenticated user.
This method requires authentication with "write" permission.
Arguments
comment_id- The id of the comment to delete from a photoset.
Specs
Edit the text of a comment as the currently authenticated user.
This method requires authentication with "write" permission.
Arguments
comment_id- The id of the comment to edit.comment_text- Update the comment to this text.
Specs
Returns the comments for a photoset.
This method does not require authentication.
Arguments
photoset_id- The id of the photoset to fetch comments for.
Example response
%{
"comments" => %{
"comment" => %{
"_content" => "Umm, I'm not sure, can I get back to you on that one?",
"author" => "35468159852@N01",
"authorname" => "Rev Dan Catt",
"date_create" => "1141841470",
"id" => "6065-109722179-72057594077818641",
"permalink" => "http://www.flickr.com/photos/straup/109722179/#comment72057594077818641"
},
"photoset_id" => "109722179"
},
"stat" => "ok"
}