Follow
This operation is part of the Twitter API section of the Web Services API.
Overview
Enables monitoring of a specific Twitter user's tweets.
Request URL | /api/v2/me/tweets |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameters
Parameter | Value |
---|---|
operationName | Follow |
twitterUserId | A Twitter user's numeric unique identifier. |
from | The Twitter account name on whose behalf the Follow operation is performed. |
Samples
Request
POST api/v2/me/tweets
{
"operationName": "Follow",
"twitterUserId": "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"
}
This page was last edited on June 3, 2020, at 07:10.
Comments or questions about this documentation? Contact us for support!