Jump to: navigation, search
(Update with the copy of version: 8.5.2DRAFT)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
=Unfollow=
 
=Unfollow=
 
__NOTOC__
 
__NOTOC__
This operation is part of the [[Twitter|Twitter API]] section of the [[Welcome|Genesys Web Services REST API]].
+
This operation is part of the [[Twitter|Twitter API]] section of the [[Welcome|Web Services API]].
 
==Overview==
 
==Overview==
 
Disables monitoring of a specific Twitter user's tweets.
 
Disables monitoring of a specific Twitter user's tweets.
 
{|
 
{|
 
! Request URL
 
! Request URL
| /api/v2/me/twitter
+
| /api/v2/me/tweets
 
|-
 
|-
 
! HTTP Method
 
! HTTP Method
Line 33: Line 33:
 
===Request===
 
===Request===
 
<source lang="text">
 
<source lang="text">
POST api/v2/me/twitter
+
POST api/v2/me/tweets
 
{
 
{
 
   "operationName": "Unfollow",
 
   "operationName": "Unfollow",

Latest revision as of 07:12, June 3, 2020

Unfollow

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

Overview

Disables 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 Unfollow
twitterUserId A Twitter user's numeric unique identifier.
from Twitter account name on whose behalf the Unfollow operation is performed.

Samples

Request

POST api/v2/me/tweets
{
  "operationName": "Unfollow",
  "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:12.
Comments or questions about this documentation? Contact us for support!