class FlickRaw::Flickr::Photosets::Comments

Public Instance Methods

addComment(:photoset_id => 'photoset_id',:comment_text => 'comment_text') click to toggle source

flickr.photosets.comments.addComment request.

Add a comment to a photoset.

Arguments

photoset_id (required)

The id of the photoset to add a comment to.

comment_text (required)

Text of the comment

Error codes

  • 1: Photoset not found

  • 8: Blank comment

  • 9: User is posting comments too fast.

    The user has reached the limit for number of comments posted during a specific time period. Wait a bit and try again.

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 98: Login failed / Invalid auth token

    The login details or auth token passed were invalid.

  • 99: User not logged in / Insufficient permissions

    The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100: Invalid API Key

    The API key passed was not valid or has expired.

  • 105: Service currently unavailable

    The requested service is temporarily unavailable.

  • 106: Write operation failed

    The requested operation failed due to a temporary issue.

  • 111: Format “xxx” not found

    The requested response format was not found.

  • 112: Method “xxx” not found

    The requested method was not found.

  • 114: Invalid SOAP envelope

    The SOAP envelope send in the request could not be parsed.

  • 115: Invalid XML-RPC Method Call

    The XML-RPC request document could not be parsed.

  • 116: Bad URL found

    One or more arguments contained a URL that has been used for abuse on Flickr.

Returns

# Generated automatically from flickr api
  def addComment(*args)
    @flickr.call 'flickr.photosets.comments.addComment', *args
  end
deleteComment(:comment_id => 'comment_id') click to toggle source

flickr.photosets.comments.deleteComment request.

Delete a photoset comment as the currently authenticated user.

Arguments

comment_id (required)

The id of the comment to delete from a photoset.

Error codes

  • 2: Comment not found.

    The comment id passed was not a valid comment id

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 98: Login failed / Invalid auth token

    The login details or auth token passed were invalid.

  • 99: User not logged in / Insufficient permissions

    The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100: Invalid API Key

    The API key passed was not valid or has expired.

  • 105: Service currently unavailable

    The requested service is temporarily unavailable.

  • 106: Write operation failed

    The requested operation failed due to a temporary issue.

  • 111: Format “xxx” not found

    The requested response format was not found.

  • 112: Method “xxx” not found

    The requested method was not found.

  • 114: Invalid SOAP envelope

    The SOAP envelope send in the request could not be parsed.

  • 115: Invalid XML-RPC Method Call

    The XML-RPC request document could not be parsed.

  • 116: Bad URL found

    One or more arguments contained a URL that has been used for abuse on Flickr.

# Generated automatically from flickr api
  def deleteComment(*args)
    @flickr.call 'flickr.photosets.comments.deleteComment', *args
  end
editComment(:comment_id => 'comment_id',:comment_text => 'comment_text') click to toggle source

flickr.photosets.comments.editComment request.

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

Arguments

comment_id (required)

The id of the comment to edit.

comment_text (required)

Update the comment to this text.

Error codes

  • 2: Comment not found.

    The comment id passed was not a valid comment id.

  • 8: Blank comment.

    Comment text can't be blank.

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 98: Login failed / Invalid auth token

    The login details or auth token passed were invalid.

  • 99: User not logged in / Insufficient permissions

    The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100: Invalid API Key

    The API key passed was not valid or has expired.

  • 105: Service currently unavailable

    The requested service is temporarily unavailable.

  • 106: Write operation failed

    The requested operation failed due to a temporary issue.

  • 111: Format “xxx” not found

    The requested response format was not found.

  • 112: Method “xxx” not found

    The requested method was not found.

  • 114: Invalid SOAP envelope

    The SOAP envelope send in the request could not be parsed.

  • 115: Invalid XML-RPC Method Call

    The XML-RPC request document could not be parsed.

  • 116: Bad URL found

    One or more arguments contained a URL that has been used for abuse on Flickr.

# Generated automatically from flickr api
  def editComment(*args)
    @flickr.call 'flickr.photosets.comments.editComment', *args
  end
getList(:photoset_id => 'photoset_id') click to toggle source

flickr.photosets.comments.getList request.

Returns the comments for a photoset.

Arguments

photoset_id (required)

The id of the photoset to fetch comments for.

Error codes

  • 1: Photoset not found.

    The photoset id was invalid.

  • 100: Invalid API Key

    The API key passed was not valid or has expired.

  • 105: Service currently unavailable

    The requested service is temporarily unavailable.

  • 106: Write operation failed

    The requested operation failed due to a temporary issue.

  • 111: Format “xxx” not found

    The requested response format was not found.

  • 112: Method “xxx” not found

    The requested method was not found.

  • 114: Invalid SOAP envelope

    The SOAP envelope send in the request could not be parsed.

  • 115: Invalid XML-RPC Method Call

    The XML-RPC request document could not be parsed.

  • 116: Bad URL found

    One or more arguments contained a URL that has been used for abuse on Flickr.

Returns

Umm, I'm not sure, can I get back to you on that one?
# Generated automatically from flickr api
  def getList(*args)
    @flickr.call 'flickr.photosets.comments.getList', *args
  end