fetchFollowers() 공개 메소드

Get number of followers
public fetchFollowers ( ) : array | Illuminate\View\View
리턴 array | Illuminate\View\View
 /**
  * Update config file with followers
  * @return void
  */
 public function updateTwitterDashboardStats()
 {
     $followers = $this->twitterContent->fetchFollowers();
     $config = $this->config->first();
     $config->twitter_followers = $followers['followers_count'];
     $config->save();
 }