Jump to: navigation, search

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 October 31, 2023, at 13:31.
Comments or questions about this documentation? Contact us for support!