Documentation home page

CFlickr.photos.comments
Component CommentsInterface

AbstractInterface
  |
  +--photos.comments.CommentsInterface

Method Summary
public string addComment(string photo_id, string comment_text)
Add comment to a photo 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 photo_id)

Methods inherited from AbstractInterface
init
 

Method Detail

addComment

public string addComment(string photo_id, string comment_text)
Add comment to a photo as the currently authenticated user. returns the id of the new comment

Parameters:
string photo_id (Required) - The id of the photo 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 photo_id)
Parameters:
string photo_id (Required)