Documentation home page

CFlickr.photosets.comments
Component CommentsInterface

AbstractInterface
  |
  +--photosets.comments.CommentsInterface

Method Summary
public string addComment(string photoset_id, string comment_text)
Add comment to a photoset as the currently authenticated user. Returns the id of the new comment
public void deleteComment(string comment_id)
Delete a comment as the currently authenticated user.
public void editComment(string comment_id, string comment_text)
Edit the text of a comment as the currently authenticated user.
public array getList(string photoset_id)

Methods inherited from AbstractInterface
init
 

Method Detail

addComment

public string addComment(string photoset_id, string comment_text)
Add comment to a photoset as the currently authenticated user. Returns the id of the new comment

Parameters:
string photoset_id (Required) - The id of the photoset to add a comment to.
string comment_text (Required) - Text of the comment.

deleteComment

public void deleteComment(string comment_id)
Delete a comment as the currently authenticated user.

Parameters:
string comment_id (Required) - The id of the comment to delete.

editComment

public void editComment(string comment_id, string comment_text)
Edit the text of a comment as the currently authenticated user.

Parameters:
string comment_id (Required) - The id of the comment to edit.
string comment_text (Required) - Update the comment to this text.

getList

public array getList(string photoset_id)
Parameters:
string photoset_id (Required)