# share-button/1.1.2/classes/network/buffer.php

Social Share Buttons, version 1.1.2. 27 lines.

- Page: https://pluginprobe.com/plugins/share-button/1.1.2/code/classes/network/buffer.php
- Raw: https://pluginprobe.com/plugins/share-button/1.1.2/raw/classes/network/buffer.php
- Modified: 2018-03-23T16:13:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/share-button/1.1.2/code/classes/network/buffer.php#L10-L20`.

```php
<?php
namespace MBSocial;
defined('ABSPATH') or die('No direct access permitted');


class bufferNetwork extends mbNetwork
{
	protected $network = 'buffer';
	protected $icon_type = 'nucleo';
	protected $icon = 'nucleo-logo-buffer';
	protected $priority = 'readmore';
	protected $color = '#242424'; 

	public function __construct()
	{
		parent::__construct();

		$this->label = __('Share', 'mbsocial');
		$this->share_url = 'https://buffer.com/add?url={url}&text={title}';
		$this->popup_dimensions = array(600,600);

		$this->countable = true;
		$this->count_api = 'https://api.bufferapp.com/1/links/shares.json?url={url}';
		$this->return_var = 'shares';
	}
}

```
