class FlickRaw::Flickr::Groups::Discuss::Replies

Public Instance Methods

add(:topic_id => 'topic_id',:message => 'message') click to toggle source

flickr.groups.discuss.replies.add request.

Post a new reply to a group discussion topic.

Arguments

topic_id (required)

The ID of the topic to post a comment to.

message (required)

The message to post to the topic.

Error codes

  • 1: Topic not found

    The topic_id is invalid.

  • 2: Cannot post to group

    Either this account is not a member of the group, or discussion in this group is disabled.

  • 3: Missing required arguments

    The topic_id and message are required.

  • 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 add(*args)
    @flickr.call 'flickr.groups.discuss.replies.add', *args
  end
delete(:topic_id => 'topic_id',:reply_id => 'reply_id') click to toggle source

flickr.groups.discuss.replies.delete request.

Delete a reply from a group topic.

Arguments

topic_id (required)

The ID of the topic the post is in.

reply_id (required)

The ID of the reply to delete.

Error codes

  • 1: Topic not found

    The topic_id is invalid.

  • 2: Reply not found

    The reply_id is invalid.

  • 3: Cannot delete reply

    Replies can only be edited by their owner.

  • 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 delete(*args)
    @flickr.call 'flickr.groups.discuss.replies.delete', *args
  end
edit(:topic_id => 'topic_id',:reply_id => 'reply_id',:message => 'message') click to toggle source

flickr.groups.discuss.replies.edit request.

Edit a topic reply.

Arguments

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.

Error codes

  • 1: Topic not found

    The topic_id is invalid

  • 2: Reply not found

    The reply_id is invalid.

  • 3: Missing required arguments

    The topic_id and reply_id are required.

  • 4: Cannot edit reply

    Replies can only be edited by their owner.

  • 5: Cannot post to group

    Either this account is not a member of the group, or discussion in this group is disabled.

  • 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 edit(*args)
    @flickr.call 'flickr.groups.discuss.replies.edit', *args
  end
getInfo(:topic_id => 'topic_id',:reply_id => 'reply_id') click to toggle source

flickr.groups.discuss.replies.getInfo request.

Get information on a group topic reply.

Arguments

topic_id (required)

The ID of the topic the post is in.

reply_id (required)

The ID of the reply to fetch.

Error codes

  • 1: Topic not found

    The topic_id is invalid

  • 2: Reply not found

    The reply_id is 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

...well, too bad.
# Generated automatically from flickr api
  def getInfo(*args)
    @flickr.call 'flickr.groups.discuss.replies.getInfo', *args
  end
getList(:topic_id => 'topic_id',:per_page => 'per_page',:page => 'page') click to toggle source

flickr.groups.discuss.replies.getList request.

Get a list of replies from a group discussion topic.

Arguments

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.

Error codes

  • 1: Topic not found

    The topic_id is 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

<div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5080874079/" title="Star Wars 1 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4035/5080874079_684cf874e0_m.jpg" width="240" height="180" alt="Star Wars 1 by Smallportfolio_jm08"  class="pc_img" border="0" /></a></span></div>

<div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467846/" title="Star Wars 2 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4071/5081467846_2eec86176d_m.jpg" width="240" height="180" alt="Star Wars 2 by Smallportfolio_jm08"  class="pc_img" border="0" /></a></span></div>

<div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467886/" title="Star Wars 3 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4021/5081467886_d8cca6c8e8_m.jpg" width="240" height="180" alt="Star Wars 3 by Smallportfolio_jm08"  class="pc_img" border="0" /></a></span></div>

<div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467910/" title="Star Wars 4 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4084/5081467910_274bb11fdc_m.jpg" width="240" height="180" alt="Star Wars 4 by Smallportfolio_jm08"  class="pc_img" border="0" /></a></span></div>

<div><span class="photo_container pc_m bbml_img"><a href="/photos/53930889@N04/5081467948/" title="Star Wars 5 by Smallportfolio_jm08"><img class="notsowide" src="http://farm5.staticflickr.com/4154/5081467948_1a5f200bc0_m.jpg" width="240" height="180" alt="Star Wars 5 by Smallportfolio_jm08"  class="pc_img" border="0" /></a></span></div>*LOL* The universe is full of <a href="http://www.flickr.com/groups/visualstory/discuss/72157622533160886/">giant furry space monsters</a> it seems! Love it.Great work. Good focus on different aspects of scene in each frame.  Funny ending-- even better that I didn't notice the cat right away!  Being a hopeless Trekkie, I was wondering why Han was doing the Vulcan death grip on one of his allies....On a scale of 1 to 10 of awesome. This is a 15
# Generated automatically from flickr api
  def getList(*args)
    @flickr.call 'flickr.groups.discuss.replies.getList', *args
  end