PluginProbe
Social Share Buttons / 0.9
Social Share Buttons v0.9
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
share-button / classes / network / twitter.php

twitter.php in Social Share Buttons 0.9, at classes/network/twitter.php

29 lines 677 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace MBSocial;
3
4 use MaxButtons\maxField as maxField;
5 use MaxButtons\maxBlocks as maxBlocks;
6
7 class twitterNetwork extends mbNetwork
8 {
9 protected $network = 'twitter';
10 protected $icon = 'fa-twitter';
11
12
13 public function __construct()
14 {
15 // https://dev.twitter.com/web/tweet-button/web-intent
16 $this->label = __('Tweet','mbsocial');
17 $this->share_url = 'https://twitter.com/intent/tweet/';
18 $this->countable = false;
19 $this->popup_dimension = array(550, 420);
20
21 /* Twitter Follow */
22 /* $network_data["share_url"] = 'https://twitter.com/{user}';
23 $network_data['count_api'] = '';
24 $network_data['json_return_var'] = 'count';
25 */
26 }
27
28 }
29