(Update with the copy of version: 8.5.2DRAFT) |
(Update with the copy of version: 8.5.2DRAFT) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= AddComment= | = AddComment= | ||
__NOTOC__ | __NOTOC__ | ||
− | This operation is part of the [[Twitter|Twitter API]] section of the [[Welcome| | + | This operation is part of the [[Twitter|Twitter API]] section of the [[Welcome|Web Services API]]. |
==Overview== | ==Overview== | ||
Sets a comment on the specified Twitter interaction. | Sets a comment on the specified Twitter interaction. | ||
{| | {| | ||
! Request URL | ! Request URL | ||
− | | /api/v2/me/ | + | | /api/v2/me/tweets/{id} |
|- | |- | ||
! HTTP Method | ! HTTP Method | ||
Line 24: | Line 24: | ||
|- | |- | ||
| comment | | comment | ||
− | | A string value | + | | A string value used for the Twitter comment. |
|} | |} | ||
Line 30: | Line 30: | ||
===Request=== | ===Request=== | ||
<source lang="text"> | <source lang="text"> | ||
− | POST api/v2/me/ | + | POST api/v2/me/tweets/01QQQG2MU214P05H |
{ | { | ||
Line 57: | Line 57: | ||
"state": "Canceled", | "state": "Canceled", | ||
"twitterType": "Outbound", | "twitterType": "Outbound", | ||
− | "uri": "http://192.168.83.25:8080/api/v2/ | + | "uri": "http://192.168.83.25:8080/api/v2/tweet/01QQQG2MU214P05H" |
} | } | ||
} | } | ||
</source> | </source> | ||
[[Category:V:HTCC:8.5.2]] | [[Category:V:HTCC:8.5.2]] |
Latest revision as of 09:43, June 24, 2020
AddComment
This operation is part of the Twitter API section of the Web Services API.
Overview
Sets a comment on the specified Twitter interaction.
Request URL | /api/v2/me/tweets/{id} |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameters
Parameter | Value |
---|---|
operationName | AddComment |
comment | A string value used for the Twitter comment. |
Samples
Request
POST api/v2/me/tweets/01QQQG2MU214P05H
{
"operationName": "AddComment",
"comment": "I am crazy about my test"
}
HTTP Response
{
"statusCode": 0,
"referenceId": 22
}
CometD Response
{
"messageType": "TwitterStateChangeMessage",
"notificationType": "StatusChange",
"referenceId": 22,
"twitter": {
"capabilities": [],
"comment": "I am crazy about my test",
"id": "01QQQG2MU214P05H",
"state": "Canceled",
"twitterType": "Outbound",
"uri": "http://192.168.83.25:8080/api/v2/tweet/01QQQG2MU214P05H"
}
}
This page was last edited on June 24, 2020, at 09:43.
Comments or questions about this documentation? Contact us for support!