1.0.0 • Published 9 years ago
instawidget v1.0.0
Instawidget
Free, simple embeddable Instagram widget.

Usage
- Grab
dist/production.min.cssand include it in your site. Or just style the widget yourself - there's no iframes to get in your way. - Grab
dist/production.min.jsand include it in your site. If you already have jQuery as a dependency, you can usedist/production.lite.min.jsinstead. - Create a blank div and initialize the plugin with jQuery:
$('#my_container_div').instawidget({
'username': 'schneidmaster', // required
'access_token': 'my_access_token', // required
'hashtag': 'nofilter' // optional
});You must provide your Instagram username and access token; you can generate an access token from PixelUnion if you need one. If you provide a hashtag, the widget will show photos from across Instagram with that hashtag. If you don't, it will display your photos.
To check out a simple example, clone the repository, insert your username and access token in examples/index.html, and open it in a browser.
Contributing
- Fork it ( https://github.com/schneidmaster/instawidget/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
1.0.0
9 years ago