/** * Method render * @access public * @param boolean $ajax_render [default value: false] * @return string html code of object FacebookComments * @since 1.0.86 */ public function render($ajax_render = false) { FacebookComments::getFacebookJsInclude(); $html = "<div class=\"fb-comments\" data-href=\"" . $this->url_to_comment . "\" data-numposts=\"" . $this->number_post . "\" data-width=\"" . $this->width . "\" data-colorscheme=\"" . $this->style . "\" style=\"border:none; overflow:hidden;background-color:" . ($this->style == "dark" ? "black" : "white") . "; width:" . $this->width . "px;\"></div>"; return $html; }