Gets the Twitter Credentials.

URL : v3/twitter/credentials

Method : GET

Response :

{


"success":true,
message":{
      "id":1,
      "consumer_api_key":"uluefhkhhpko0xAQcLq1Zl",
      "consumer_api_secret":"TFVIO0wxnhjhdskjhhUIUR5EE4Uzdc2EkB3iYDqs2JtAwAO",
      "access_token":"2951462162-cjQVHuZjsahjkashjkhaVWZAR4X3NtXLqqrKOodw8jhods4",
      "access_token_secret":"KaGVve61hihhkihihN0yAv4A1C1hmLahgBoPaXhKJxs",
      "reply_interval":5,
      "hashtag_text":"hashtag",
      "created_at":"2019-11-25 11:05:57",
      "updated_at":"2019-11-25 11:05:57"
}

Saves the Twitter App.

URL : twitter/create

Method : POST

Query Parameters :

Parameter Type Optional/Required Description
consumer_api_key string Required Consumer API Key
consumer_api_secret string Required Consumer Secret Key
oauth_access_token string Required OAuth Access Token
oauth_access_token_secret string Required OAuth Access Token Secret

Response :

{

 "success":true,

 "message":"Twitter Application successfully integrated."

}

Updates the Twitter Hashtag Query String

URL : twitter/update

Method : GET
Query Parameters :

Parameter Type Optional/Required Description
hashtag_text string Required New value for hashtag text query

Response :

{

 "success":true,

 "message":"Twitter hashtag query updated successfully."

}

Deletes Twitter App.

URL : twitter/delete/{id}

Method : DELETE

Query Parameters :

Parameter Type Optional/Required Description
app_id string Required ID of the Twitter App to delete.

Response :

{

 "success":true,

 "message":"Twitter App successfully deleted."

}
Tagged: