public function setParams($post_id, $post_url = false)
 {
     parent::setparams($post_id, $post_url);
     $url = $this->updater->post_url;
     $this->updater->resource_params = array('id' => $url, 'fields' => 'og_object{engagement}');
     // Append the access token, if set
     if (isset($this->access_token)) {
         $this->setAccessToken($this->access_token);
     }
     // Note: The final encoded URL should look a bit like this:
     // https://graph.facebook.com/v2.3/?id=http://www.wordpress.org&fields=og_object{engagement}&access_token=TOKEN_HERE
 }
 public function setParams($post_id, $post_url = false)
 {
     parent::setparams($post_id, $post_url);
     $this->updater->resource_params = array('url' => $this->updater->post_url);
 }
 public function setParams($post_id, $post_url = false)
 {
     parent::setparams($post_id, $post_url);
     $this->updater->resource_params = array('href' => $this->updater->post_url, 'locale' => 'en_US');
 }
 public function setParams($post_id, $post_url = false)
 {
     parent::setparams($post_id, $post_url);
     $this->updater->resource_request_method = 'post';
     $this->updater->resource_params = array('method' => 'pos.plusones.get', 'id' => 'p', 'params' => array('nolog' => true, 'id' => $this->updater->post_url, 'source' => 'widget', 'userId' => '@viewer', 'groupId' => '@self'), 'jsonrpc' => '2.0', 'key' => 'p', 'apiVersion' => 'v1');
 }
 public function setParams($post_id, $post_url = false)
 {
     parent::setparams($post_id, $post_url);
     $this->updater->resource_params = array('callback' => 'receiveCount', 'url' => $this->updater->post_url);
 }