/**
  * @return FFFacebookCacheManager
  */
 public static function get()
 {
     if (null == self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 public function deferredInit($options, $stream, $feed)
 {
     $this->images = array();
     $this->accessToken = FFFacebookCacheManager::get()->getAccessToken();
     $locale = 'locale=' . get_locale();
     $fields = 'fields=likes.summary(true),comments.summary(true),shares,id,created_time,from,link,message,name,object_id,picture,source,status_type,story,type&';
     $userId = (string) $feed->content;
     $this->url = "https://graph.facebook.com/v2.3/{$userId}/posts?{$fields}access_token={$this->accessToken}&limit={$this->getCount()}&{$locale}";
 }
 public function afterUpdateOption($option, $old_value = '', $value = '')
 {
     if ('flow_flow_fb_auth_options' == $option) {
         FFCacheManager::clean(array('%'));
         FFFacebookCacheManager::clean();
     }
 }