accounts()
» Social media account limit
Example :
GET /api/v1.0/social/accounts
// Example : /api/v1.0/social/accounts
$ch = curl_init("https://fixerkit.com/api/v1.0/social/accounts?access_token=xxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
messages()
» List Social Message
Example :
GET /api/v1.0/social/messages
// Example : /api/v1.0/social/messages
$ch = curl_init("https://fixerkit.com/api/v1.0/social/messages?access_token=xxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
scheduledMessages()
» Scheduled Messages
Example :
GET /api/v1.0/social/scheduledMessages
// Example : /api/v1.0/social/scheduledMessages
$ch = curl_init("https://fixerkit.com/api/v1.0/social/scheduledMessages?access_token=xxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
groups()
» Your fixerkit group
Example :
GET /api/v1.0/social/groups
// Example : /api/v1.0/social/groups
$ch = curl_init("https://fixerkit.com/api/v1.0/social/groups?access_token=xxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
send()
» The process of sending messages to social media
Example :
POST /api/v1.0/social/send/{message,post,story}
$_POST :
title
Maks 250 karakter
description
Maks 40000 karakter
group_id
Must be numerical value
link
Must be a valid URL
image
Must be a valid URL
// Example : /api/v1.0/social/send/{message,post,story}
// Post Type : message,post,story
$post = array(
"title" => "Fixerkit for Developers",
"description" => "Fixerkit Social Media Management and Dijital Marketing",
"group_id" => "0", /* or Group Id */
"link" => "https://fixerkit.com/en",
"image" => "https://fixerkit.com/app/view/assets/images/logo.png",
);
$ch = curl_init("https://fixerkit.com/api/v1.0/social/send/message?access_token=xxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
curl_close($ch);
update()
» The process of sending messages to social media
Example :
POST /api/v1.0/social/update/{message,post,story}/socialMessageId
socialMessageId : The unique id given by Fixerkit
$_POST :
title
Maks 250 karakter
description
Maks 40000 karakter
group_id
Must be numerical value
link
Must be a valid URL
image
Must be a valid URL
// Example : /api/v1.0/social/update/{message,post,story}/socialMessageId
// Post Type : message,post,story
// socialMessageId : The unique id given by Fixerkit
$post = array(
"title" => "Fixerkit for Developers",
"description" => "Fixerkit Social Media Management and Dijital Marketing",
"group_id" => "0", /* or Group Id */
"link" => "https://fixerkit.com/en",
"image" => "https://fixerkit.com/app/view/assets/images/logo.png",
);
$ch = curl_init("https://fixerkit.com/api/v1.0/social/update/{message,post,story}/socialMessageId?access_token=xxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
curl_close($ch);
delete()
» The process of deleting the message in the social media account
Example :
GET /api/v1.0/social/edit/socialMessageId
socialMessageId : The unique id given by Fixerkit
// Example : /api/v1.0/social/delete/socialMessageId
// socialMessageId : The unique id given by Fixerkit
$ch = curl_init("https://fixerkit.com/api/v1.0/social/delete/socialMessageId?access_token=xxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);