Web Component wrapper for Facebook's Likebox using Polymer.
Maintained by Tiago Celestino.
-
Import Web Components' polyfill:
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.0.20130711/polymer.min.js"></script>
-
Import Custom Element:
<link rel="import" href="src/facebook-likebox.html">
-
Start using it!
<facebook-likebox></facebook-likebox>
Attribute | Options | Default | Description |
---|---|---|---|
appid |
int | `` | your app id (optional) |
colorscheme |
light , dark |
light |
the color scheme for the like box |
height |
int | 300 |
the height of the like box |
pageslug |
string | github |
the slug fanpage url (don't use https://facebook.com/) |
showfaces |
string | true |
show profile photo fanpage user |
showheader |
string | false |
display Facebook header at the top like box. |
showstream |
string | false |
display a stream of the latest posts by the Page. |
showborder |
string | false |
show or not a border around the like box plugin. |
width |
int | foo |
the width of the like box |
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
- v0.0.1 October 25, 2013
- Started project using boilerplate-element