Creates a widget of Facebook's Like Box plugin. http://developers.facebook.com/docs/reference/plugins/like-box/
No previous configuration required.
$facebookLikeBox = new FacebookLikeBox();
$facebookLikeBox->setHref("http://www.facebook.com/my.account.name");
$facebookLikeBox->render();
Optional configuration:
- Width: $facebookLikeBox->setWidth(111);
- Height: $facebookLikeBox->setHeight(111);
- Color scheme (light,dark): $facebookLikeBox->setColorScheme('light');
- Show profile photos (true,false): $facebookLikeBox->setShowFaces(true);
- Display stream (true,false): $facebookLikeBox->setStream(true);
- Display header (true,false): $facebookLikeBox->setHeader(true);
- Border color (color en hex code): $facebookLikeBox->setBorderColor('000000');
- Stream with post from Place's wall (true,false): $facebookLikeBox->setForceWall(false);
Creative Commons CC-BY-SA License (http://creativecommons.org/licenses/by-sa/3.0/)
Copyright (c) 2012-3 Diaz-Caneja Consultores
Gerardo Colorado Diaz-Caneja gcdiazcaneja@diaz-caneja-consultores.com
Github: https://github.com/gerardocdc/facebook-like-box (feel free to contribute)