Published on webcomponents.org

<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

Or download as ZIP

Usage

  1. Import Web Components’ polyfill (if needed):

     <script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
    
  2. Import Custom Element:

     <script src="bower_components/fb-dp/fb-dp.js"></script>
    
  3. Start using it!

      <fb-dp uid="4"></fb-dp>
    

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

License

The MIT License (MIT)

Copyright (c) 2017 RSAT