<?php
/**
 * @name          : Joomla Social Pinboard
 * @version	  : 1.5.0
 * @package       : apptha
 * @since         : Joomla 1.5
 * @author        : Apptha - http://www.apptha.com
 * @copyright     : Copyright (C) 2011 Powered by Apptha
 * @license       : http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
 * @abstract      : Social Pinboard Module facebook feed
 * @Creation Date : August 2013
 * @Modified Date : March 2014
 * */
defined('_JEXEC') or die('Direct Access to this location is not allowed.');

$apikey = $params->get('FacebookAPIkey', '');
$baseurl = $params->get('FacebookPageURL', '');
$width = 213;
$height = 400;
$connections = 5;
$stream = 1;

?>
<div class="wwya-fbmodule">
    <h2 class="wwya-fbicon"><i></i><?php echo JText::_('MOD_WISHLOGUE_FACEBOOK_FEED'); ?></h2>
    <iframe src="//www.facebook.com/plugins/likebox.php?href=<?php echo $baseurl; ?>&amp;width=<?php echo $width; ?>&amp;height=<?php echo $height; ?>&amp;show_faces=true&amp;colorscheme=light&amp;connections=<?php echo $connections; ?>&amp;stream=<?php echo $stream; ?>&amp;border_color=%23aabbcc&amp;header=true&amp;appId=<?php echo $apikey; ?>&amp;" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:<?php echo $width; ?>px; height:<?php echo $height; ?>px; border: medium none;" allowTransparency="true"></iframe>
</div>
