Managing your group chats [global] social settings using RumbleTalk API


Reading your group chats [global] social settings

GET
https://api.rumbletalk.com/social

Response format

  • Parameter
  • Type
  • Description
  • status
  • boolean
  • true on success, false otherwise
  • data
  • object
  • the social data

Format of the data parameter

  • Parameter
  • Type
  • Description
  • social
  • boolean
  • If social settings are enabled
  • fbLink
  • string
  • The link that will be used with the Facebook share function of the chat
  • twitterName
  • string
  • The Twitter handle that will be used with the Twitter share function of the chat

cURL example

curl \ -X GET \ "https://api.rumbletalk.com/social" \ -H "Authorization: Bearer <token>"

Response example

{ "status": true, "data": { "social": true, "fbLink": "www.rumbletalk.com", "twitterName": "@rumbletalk" } }

Updating your group chats [global] social settings

PUT
https://api.rumbletalk.com/social

Request format

  • Parameter
  • Type
  • Description
  • social
  • boolean
  • If social settings are enabled or not
    default: true
  • fbLink
  • string
  • The link that will be used with the Facebook share function of the chat
  • twitterName
  • string
  • The Twitter handle that will be used with the Twitter share function of the chat

Response format

  • Parameter
  • Type
  • Description
  • status
  • boolean
  • true on success, false otherwise

cURL example

curl \ -X PUT \ "https://api.rumbletalk.com/social" \ -H "Authorization: Bearer <token>" \ -d "{\"fbLink\":\"www.rumbletalk.com\"}"

Response example

{ "status": true }