Jump to: navigation, search

Retweet

This operation is part of the Twitter API section of the Web Services API.

Overview

Retweets a specified Twitter message.

Request URL /api/v2/me/twitter
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName Retweet
twitterMsgId A Twitter message numeric unique identifier.
from Twitter account name on whose behalf the Retweet operation is performed.

Samples

Request

POST api/v2/me/twitter
{
  "operationName": "Retweet",
  "twitterMsgId": "1234567890",
  "from": "customer_support"
}

HTTP Response

{
  "statusCode": 0,
  "referenceId": 1
}

CometD Response

Success

{
  "messageType": "TwitterOperationResponse",
  "referenceId": 1,
  "success": "true"
}

Failure

{
  "messageType": "TwitterOperationResponse",
  "referenceId": 1,
  "success": "false",
  "errorMessage": "Unable to perform twitter operation"
}

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on January 22, 2016, at 11:56.