flickrex v0.3.0 Flickr.Photosets.Comments

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

Types

args()
args() :: Keyword.t
client()
client() :: Flickrex.Client.t
response()
response() :: Flickrex.Parser.response

Functions

add_comment(client, args \\ [])
add_comment(client, args) :: response

Add a comment to a photoset.

This method requires authentication with “write” permission.

Arguments

  • photoset_id - (required) The id of the photoset to add a comment to.

  • comment_text - (required) Text of the comment

delete_comment(client, args \\ [])
delete_comment(client, args) :: response

Delete a photoset comment as the currently authenticated user.

This method requires authentication with “write” permission.

Arguments

  • comment_id - (required) The id of the comment to delete from a photoset.
edit_comment(client, args \\ [])
edit_comment(client, args) :: response

Edit the text of a comment as the currently authenticated user.

This method requires authentication with “write” permission.

Arguments

  • comment_id - (required) The id of the comment to edit.

  • comment_text - (required) Update the comment to this text.

get_list(client, args \\ [])
get_list(client, args) :: response

Returns the comments for a photoset.

This method does not require authentication.

Arguments

  • photoset_id - (required) The id of the photoset to fetch comments for.