Copyright 2024 © Fixerkit.com
Follow @fixerkit
// 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);
// 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);
// 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);
// 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);
// 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);
// 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);
// 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);