<fb-dp>
<fb-dp>
is a web component that displays the facebook profile picture of any given facebbok ID.
Demo
LIVE DEMO
Install
Install the component using Bower:
$ bower install --save fb-dp
Usage
-
Import Web Components’ polyfill (if needed):
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
-
Import Custom Element:
<script src="bower_components/fb-dp/fb-dp.js"></script>
-
Start using it!
<fb-dp uid="4"></fb-dp>
Contributing
- 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
License
Copyright (c) 2017 RSAT