Пример #1
0
 public function __construct()
 {
     parent::__construct('YouTube', 'youtube', '#e62117', ["DE" => 'DE', "US" => 'US', "W" => null], getenv('strebo_youtube_1'), null, "http://strebo.net?YouTube=1");
     $this->youtube = $this->buildYoutube([null]);
     $client = new \Google_Client();
     $client->setApplicationName("strebo_google_plus");
     $client->setDeveloperKey(getenv("strebo_youtube_2"));
     $this->googlePlus = new \Google_Service_Plus($client);
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct('SoundCloud', 'soundcloud', '#ff3a00', ["DE" => null, "US" => null, "W" => null], getenv('strebo_soundcloud_1'), getenv('strebo_soundcloud_2'), 'http://strebo.net?SoundCloud=1');
     $this->client = new SoundCloudAPI($this->getApiKey(), $this->getApiSecret(), $this->getApiCallback());
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct('Bing News', 'Bing_logo_2016', '#008273', ["DE" => "de", "US" => "us", "W" => "us"], null, null, null);
     $this->reader = new Reader();
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct('9GAG', 'GAG_new_logo', '#000000', ["DE" => null, "US" => null, "W" => null], null, null, null);
 }
Пример #5
0
 public function __construct()
 {
     parent::__construct("Facebook", "facebook", "#3b5999", [null, null, null], getenv("strebo_facebook_1"), getenv("strebo_facebook_2"), "http://strebo.net/?Facebook=1");
     $this->facebook = new \Facebook\Facebook(['app_id' => $this->getApiKey(), 'app_secret' => $this->getApiSecret(), 'default_graph_version' => 'v2.6']);
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct('4chan', 'chanx1', '#789922', ["DE" => null, "US" => null, "W" => null], null, null, null);
 }
Пример #7
0
 public function __construct()
 {
     parent::__construct('Instagram', 'instagram', '#2a5b83', ["DE" => ["51.1656910", "10.4515260"], "US" => ["37.0902400", "-95.7128910"], "W" => [null, null]], getenv('strebo_instagram_1'), getenv('strebo_instagram_2'), 'http://strebo.net?Instagram=1');
     $this->instagram = new InstagramAPI($this->getApiKey());
 }