facebook Fixerkit - API Guide

API Guide : Rank Tracking

API Guide User Social Media Management Rank Tracking Keyword Planner
  • searchEngines
  • projects
  • project
  • add
  • delete
  • addKeyword
  • deleteKeyword
searchEngines() » Search Enginies
Example : GET /api/v1.0/rankTracker/searchEngines
            // Example : /api/v1.0/rankTracker/searchEngines

            $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/searchEngines?access_token=xxx");
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            $response = curl_exec($ch);
            curl_close($ch);
          
projects() » Projects
Example : GET /api/v1.0/rankTracker/projects
            // Example : /api/v1.0/rankTracker/projects

            $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/projects?access_token=xxx");
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            $response = curl_exec($ch);
            curl_close($ch);
          
project() » Project
Example : GET /api/v1.0/rankTracker/project/projectId
            // Example : /api/v1.0/rankTracker/project
            // projectId : The unique id given by Fixerkit

            $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/project/projectId?access_token=xxx");
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            $response = curl_exec($ch);
            curl_close($ch);
          
add() » Add Project
Example : POST /api/v1.0/rankTracker/add
              // Example : /api/v1.0/rankTracker/add

              $post = array(
              "title" => "Fixerkit for Developers",
              "engine" => "engineId", /* From searchEngines() */
              "domain" => "example.com",
              "opponent" => array(
                    "example1.com","example2.com"
                ),
              );

              $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/add?access_token=xxx");
              curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
              curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($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/rankTracker/delete/projectId
socialMessageId : Unique id given by Fixerkit to the message you want to edit
              // Example : /api/v1.0/rankTracker/delete/projectId
              // projectId : The unique id given by Fixerkit
                $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/delete/projectId?access_token=xxx");
              curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
              $response = curl_exec($ch);
              curl_close($ch);
            
addKeyword() » Add Keyword
Example : POST /api/v1.0/rankTracker/addKeyword/projectId
              // Example : /api/v1.0/rankTracker/addKeyword/projectId
              // projectId : The unique id given by Fixerkit

              $post = array(
              "keywords" => array(
                    "keyword 1","keyword 2"
                ),
              );

              $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/addKeyword/projectId?access_token=xxx");
              curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
              curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
              $response = curl_exec($ch);
              curl_close($ch);
            
deleteKeyword() » Add Keyword
Example : POST /api/v1.0/rankTracker/deleteKeyword/projectId
              // Example : /api/v1.0/rankTracker/deleteKeyword/projectId
              // projectId : The unique id given by Fixerkit
              $post = array(
                "ids" => array(
                    "keywordId",  /* From project() */
                    "keywordId"   /* From project() */
                ),
              );

              $ch = curl_init("https://fixerkit.com/api/v1.0/rankTracker/deleteKeyword/projectId?access_token=xxx");
              curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
              curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
              $response = curl_exec($ch);
              curl_close($ch);