- Previous: pikeo.comments.getPicturesCommentedByMe
- Up: List of the Methods
- Next: pikeo.contacts.getList
pikeo.comments.updateComment
Updates the text of a comment (comment_id).
Logged access is required to edit a comment.
Additional Parameters
| Type | Parameter | Required | Description |
|---|---|---|---|
| Integer | comment_id | Yes | The id of the comment to edit |
| String | text | Yes | The new text corresponding to the comment |
Returns
The id of the updated comment.
REST
Call
The following code represents the parameters of the HTTP POST request:
text=comment+updated+through+the+API&login=jattali&comment_id=1767&nonce=LTExNDc5NTcxODg4NjcyMzI3NzU%3D×tamp=2007-11-19T12%3A08%3A48Z&api_key=your_api_key&api_sig=tHLSL6KUTFyCkdbVkuWt7orZk%2FU%3D&method=pikeo.comments.updateComment(decoded: text=comment updated through the API&login=jattali&comment_id=1767&nonce=LTExNDc5NTcxODg4NjcyMzI3NzU=×tamp=2007-11-19T12:08:48Z&api_key=your_api_key&api_sig=tHLSL6KUTFyCkdbVkuWt7orZk/U=&method=pikeo.comments.updateComment)
Response
<?xml version="1.0" encoding="UTF-8"?>
<response>
<value>
1767
</value>
</response>
XMLRPC
Call
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>pikeo.comments.addComment</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>login</name>
<value>jattali</value>
</member>
<member>
<name>nonce</name>
<value>LTQyMDA4MDE2Njc3OTYwNjc3OTA=</value>
</member>
<member>
<name>timestamp</name>
<value>2007-10-31T14:51:24Z</value>
</member>
<member>
<name>api_key</name>
<value>your_api_key</value>
</member>
<member>
<name>api_sig</name>
<value>5KPbMf+qvR5FQ089fx4Uj68dtd0=</value>
</member>
<member>
<name>comment_id</name>
<value>
<i4>1767</i4>
</value>
</member>
<member>
<name>text</name>
<value>
<string>comment updated through the api</string>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Response
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value>
<i4>1767</i4>
</value>
</param>
</params>
</methodResponse>
- Previous: pikeo.comments.getPicturesCommentedByMe
- Up: List of the Methods
- Next: pikeo.contacts.getList
Docs Navigation
- Home
- Authentication
- PictureURL
- Errors
- phpApiKit
- javaApiKit
- DTO
- API
- pikeo test echo
- pikeo test version
- pikeo test login
- pikeo albums getInfo
- pikeo albums getList
- pikeo albums getPhotos
- pikeo comments addComment
- pikeo comments deleteComment
- pikeo comments getList
- pikeo comments getMyCommentedPhotos
- pikeo comments getPicturesCommentedByMe
- pikeo comments updateComment
- pikeo contacts getList
- pikeo groups addPhotos
- pikeo groups findByName
- pikeo groups getInfo
- pikeo groups getList
- pikeo groups getMembers
- pikeo groups getPhotos
- pikeo groups removePhotos
- pikeo groups search
- pikeo people findByUsername
- pikeo people getInfo
- pikeo people getMyInfo
- pikeo people getPublicPhotos
- pikeo photos addTags
- pikeo photos getContactsPublicPhotos
- pikeo photos getInfo
- pikeo photos getMostViewed
- pikeo photos getUserPhotos
- pikeo photos search
- pikeo photos setMeta
- pikeo photos setPrivacy
- pikeo photos upload

Comments
New comments are not being accepted at this time.