/** * Method getFacebookJsInclude * @access static * @return mixed * @since 1.2.9 */ public static function getFacebookJsInclude() { return FacebookActivityFeed::getFacebookJsInclude(); }
/** * Method render * @access public * @param boolean $ajax_render [default value: false] * @return string html code of object FacebookActivityFeed * @since 1.0.86 */ public function render($ajax_render = false) { FacebookActivityFeed::getFacebookJsInclude(); $html = "<div class=\"fb-activity\" data-site=\"" . $this->domain . "\" data-action=\"likes, recommends\" data-width=\"" . $this->width . "\" data-height=\"" . $this->height . "\" data-colorscheme=\"" . $this->style . "\" data-header=\"" . ($this->header ? "true" : "false") . "\" style=\"border:none; overflow:hidden;background-color:" . ($this->style == "dark" ? "black" : "white") . "; width:" . $this->width . "px; height:" . $this->height . "px;\"></div>"; return $html; }