flickrex v0.6.0 Flickrex.Flickr.Photos.Comments View Source

Link to this section Summary

Functions

Add comment to a photo as the currently authenticated user

Delete a comment as the currently authenticated user

Edit the text of a comment as the currently authenticated user

Returns the comments for a photo

Return the list of photos belonging to your contacts that have been commented on recently

Link to this section Types

Link to this section Functions

Link to this function add_comment(args \\ []) View Source
add_comment(args()) :: operation()

Add comment to a photo as the currently authenticated user.

This method requires authentication with “write” permission.

Arguments

  • photo_id - (required) The id of the photo to add a comment to.

  • comment_text - (required) Text of the comment

Link to this function delete_comment(args \\ []) View Source
delete_comment(args()) :: operation()

Delete 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.
Link to this function edit_comment(args \\ []) View Source
edit_comment(args()) :: operation()

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.

Link to this function get_list(args \\ []) View Source
get_list(args()) :: operation()

Returns the comments for a photo

This method does not require authentication.

Arguments

  • photo_id - (required) The id of the photo to fetch comments for.

  • min_comment_date - Minimum date that a a comment was added. The date should be in the form of a unix timestamp.

  • max_comment_date - Maximum date that a comment was added. The date should be in the form of a unix timestamp.

Link to this function get_recent_for_contacts(args \\ []) View Source
get_recent_for_contacts(args()) :: operation()

Return the list of photos belonging to your contacts that have been commented on recently.

This method requires authentication with “read” permission.

Arguments

  • date_lastcomment - Limits the resultset to photos that have been commented on since this date. The date should be in the form of a Unix timestamp.

    The default, and maximum, offset is (1) hour.

  • contacts_filter - A comma-separated list of contact NSIDs to limit the scope of the query to.

  • extras - A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o

  • per_page - Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page - The page of results to return. If this argument is omitted, it defaults to 1.