Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tcelestino/facebook-likebox
Web Component wrapper for Facebook's like box plugin using Polymer
https://github.com/tcelestino/facebook-likebox
Last synced: about 9 hours ago
JSON representation
Web Component wrapper for Facebook's like box plugin using Polymer
- Host: GitHub
- URL: https://github.com/tcelestino/facebook-likebox
- Owner: tcelestino
- Created: 2013-10-25T18:09:36.000Z (about 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2014-07-16T20:01:15.000Z (over 10 years ago)
- Last Synced: 2023-03-14T02:40:21.433Z (almost 2 years ago)
- Homepage: tcelestino.github.io/facebook-likebox
- Size: 211 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# <facebook-likebox>
Web Component wrapper for [Facebook's Likebox](https://developers.facebook.com/docs/plugins/like-box-for-pages/) using Polymer.
> Maintained by [Tiago Celestino](https://github.com/tcelestino).
## Demo
> [Check it live](http://tcelestino.github.io/facebook-likebox/).
## Usage
1. Import Web Components' polyfill:
```html
```2. Import Custom Element:
```html
```3. Start using it!
```html
```## Options
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## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## History
* v0.0.1 October 25, 2013
* Started project using [boilerplate-element](https://github.com/customelements/boilerplate-element)## License
[MIT License](http://opensource.org/licenses/MIT)