facebook Fixerkit - API Kılavuzu

API Kılavuzu : Sıralama Takibi

API Kılavuzu Kullanıcı Sosyal Medya Yönetimi Sıralama Takibi Kelime Planlayıcı
  • searchEngines
  • projects
  • project
  • add
  • delete
  • addKeyword
  • deleteKeyword
searchEngines() » Arama Motorları
Örnek : GET /api/v1.0/rankTracker/searchEngines
            // Örnek : /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() » Projeler
Örnek : GET /api/v1.0/rankTracker/projects
            // Örnek : /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() » Proje
Örnek : GET /api/v1.0/rankTracker/project/projectId
            // Örnek : /api/v1.0/rankTracker/project
            // projectId : Fixerkit tarafından verilen benzersiz id

            $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() » Proje Ekle
Örnek : POST /api/v1.0/rankTracker/add
              // Örnek : /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() » Sosyal medya hesabındaki mesajı silme işlemi
Örnek : GET /api/v1.0/rankTracker/delete/projectId
socialMessageId : Fixerkit tarafından düzenlemek istediğiniz mesaja verilen benzersiz id
              // Örnek : /api/v1.0/rankTracker/delete/projectId
              // projectId : Fixerkit tarafından verilen benzersiz id
                $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() » Kelime Ekle
Örnek : POST /api/v1.0/rankTracker/addKeyword/projectId
              // Örnek : /api/v1.0/rankTracker/addKeyword/projectId
              // projectId : Fixerkit tarafından verilen benzersiz id

              $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() » Kelime Ekle
Örnek : POST /api/v1.0/rankTracker/deleteKeyword/projectId
              // Örnek : /api/v1.0/rankTracker/deleteKeyword/projectId
              // projectId : Fixerkit tarafından verilen benzersiz id
              $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);