Skip to content

Web component to show a card of your profile on Instagram using Polymer

Notifications You must be signed in to change notification settings

kessiler/instagram-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<instagram-card>

Web component to show a card of your profile in Instagram using Polymer.

Maintained by Kessiler Rodrigues.

Demo

Example

@NOTE : Data can not be displayed, because Instagram has a limit of 5000 requests per hour.

Check it live!

Install

Install the component using Bower:

$ bower install instagram-card --save

Or download as ZIP.

Usage

  1. Import Web Components' polyfill:

    <script src="bower_components/platform/platform.js"></script>
  2. Import Instagram custom element:

    <link rel="import" href="bower_components/instagram-card/dist/instagram-card.html">
  3. Start using it!

    <instagram-card></instagram-card>

Options

Attribute Options Default Description
clientId string 39040169 your id from instagram.
accessToken string 39040169.f59def8.219f3923300a4b0aa8dcb88ec3964ea2 key token of your user.

@NOTE: If you do not know your clientId, you can search it HERE!

Development

In order to run it locally you'll need to fetch some dependencies and a basic server setup.

  • Install Bower & Grunt:

    $ [sudo] npm install -g bower grunt-cli
  • Install local dependencies:

    $ bower install && npm install
  • To test your project, start the development server and open http://localhost:8000.

    $ grunt server

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

MIT License

About

Web component to show a card of your profile on Instagram using Polymer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published