Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)