/**
  * Quantity shares google plus
  *
  * @since 1.1
  * @param null
  * @return void
  */
 public static function get_plus_google()
 {
     header('Content-Type: application/javascript; charset=utf-8');
     //Cache 10 minutes
     $cache = get_transient(Setting::SSB_TRANSIENT_GOOGLE_PLUS);
     $url = Utils_Helper::request('url', false, 'esc_url');
     if (false !== $cache && isset($cache[$url])) {
         echo Utils_Helper::esc_html($_REQUEST['callback']) . '(' . $cache[$url] . ')';
         exit(1);
     }
     Utils_Helper::ajax_verify_request($url, 500, 'url_is_empty');
     $args = array('method' => 'POST', 'headers' => array('Content-Type' => 'application/json'), 'body' => json_encode(array('method' => 'pos.plusones.get', 'id' => 'p', 'method' => 'pos.plusones.get', 'jsonrpc' => '2.0', 'key' => 'p', 'apiVersion' => 'v1', 'params' => array('nolog' => true, 'id' => $url, 'source' => 'widget', 'userId' => '@viewer', 'groupId' => '@self'))), 'sslverify' => false);
     $response = wp_remote_request('https://clients6.google.com/rpc', $args);
     if (is_wp_error($response)) {
         return static::_error_request();
     }
     $plusones = json_decode($response['body'], true);
     $results = json_encode(static::_get_global_counts_google($plusones, $response, $url));
     echo $_REQUEST['callback'] . "({$results})";
     exit(1);
 }