You are here

public function LikeBtn::testSync in Like Button 7

Same name and namespace in other branches
  1. 8.2 likebtn.php \LikeBtn::testSync()

Test synchronization.

File

./likebtn.php, line 135
LikeBtn like button.

Class

LikeBtn

Code

public function testSync($email, $api_key, $site_id) {
  $email = trim($email);
  $api_key = trim($api_key);
  $site_id = trim($site_id);
  $response = $this
    ->apiRequest('stat', 'output=json&page_size=1', $email, $api_key, $site_id);
  return $response;
}