application/modules/g/views/helpers/Social.php
public function facebookComments(array $params = array()) {
        $this->_needsFacebookInit = true;
        $params = new Garp_Util_Configuration($params);
        $params->setDefault(
            'href',
            array_key_exists('href', $params) && $params['href'] ?
                $params['href'] :
                $this->view->fullUrl($this->view->url())
        )
            ->setDefault('width', 400) /* Minimum recommended width: 400 */
            ->setDefault('num_posts', 10)
            ->setDefault('colorscheme', 'light');

        $html = '<fb:comments ' . $this->_renderHtmlAttribs($params) . '></fb:comments>';
        return $html;
    }
public function facebookComments(array $params = array()) {
        $this->_needsFacebookInit = true;
        $params = new Garp_Util_Configuration($params);
        $params->setDefault(
            'href',
            array_key_exists('href', $params) && $params['href'] ?
                $params['href'] :
                $this->view->fullUrl($this->view->url())
        )
            ->setDefault('width', 400) /* Minimum recommended width: 400 */
            ->setDefault('num_posts', 10)
            ->setDefault('colorscheme', 'light');

        $html = '<fb:comments ' . $this->_renderHtmlAttribs($params) . '></fb:comments>';
        return $html;
    }
public function facebookComments ( array $ params = array ( ) ) { $ this -> _needsFacebookInit = true ; $ params = new Garp_Util_Configuration ( $ params ) ; $ params -> setDefault ( 'href' , array_key_exists ( 'href' , $ params ) && $ params [ 'href' ] ? $ params [ 'href' ] : $ this -> view -> fullUrl ( $ this -> view -> url ( ) ) ) -> setDefault ( 'width' , 400 ) /* Minimum recommended width: 400 */ -> setDefault ( 'num_posts' , 10 ) -> setDefault ( 'colorscheme' , 'light' ) ; $ html = '<fb:comments ' . $ this -> _renderHtmlAttribs ( $ params ) . '></fb:comments>' ; return $ html ; }
Display Facebook comments widget

@param array $params Various Facebook URL parameters
@return string
Display Facebook comments widget