flickrex v0.3.0 Flickr.Groups.Discuss.Replies

Summary

Functions

Post a new reply to a group discussion topic

Delete a reply from a group topic

Edit a topic reply

Get information on a group topic reply

Get a list of replies from a group discussion topic

Types

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

Functions

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

Post a new reply to a group discussion topic.

This method requires authentication with “write” permission.

Arguments

  • group_id - (required) Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance.

  • topic_id - (required) The ID of the topic to post a comment to.

  • message - (required) The message to post to the topic.

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

Delete a reply from a group topic.

This method requires authentication with “delete” permission.

Arguments

  • group_id - (required) Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance.

  • topic_id - (required) The ID of the topic the post is in.

  • reply_id - (required) The ID of the reply to delete.

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

Edit a topic reply.

This method requires authentication with “write” permission.

Arguments

  • group_id - (required) Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance.

  • topic_id - (required) The ID of the topic the post is in.

  • reply_id - (required) The ID of the reply post to edit.

  • message - (required) The message to edit the post with.

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

Get information on a group topic reply.

This method does not require authentication.

Arguments

  • group_id - (required) Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance.

  • topic_id - (required) The ID of the topic the post is in.

  • reply_id - (required) The ID of the reply to fetch.

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

Get a list of replies from a group discussion topic.

This method does not require authentication.

Arguments

  • group_id - (required) Pass in the group id to where the topic belongs. Can be NSID or group alias. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get faster performance.

  • topic_id - (required) The ID of the topic to fetch replies for.

  • per_page - (required) 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.