public function TwitterPostCollector::setTwitterClient in Social Feed 8
Set the Twitter client.
1 call to TwitterPostCollector::setTwitterClient()
- TwitterPostCollector::__construct in src/
Services/ TwitterPostCollector.php - TwitterPostCollector constructor.
File
- src/
Services/ TwitterPostCollector.php, line 75
Class
- TwitterPostCollector
- Class TwitterPostCollector.
Namespace
Drupal\socialfeed\ServicesCode
public function setTwitterClient() {
if (NULL === $this->twitter) {
$this->twitter = new TwitterOAuth($this->consumerKey, $this->consumerSecret, $this->accessToken, $this->accessTokenSecret);
}
}