Dashing widget to display location based photos from Instagram.
##Dependencies
instagram - Official Ruby Gem
Add the following to your Dashing Gemfile:
git 'https://github.com/Instagram/instagram-ruby-gem.git' do
gem 'instagram'
end
Run bundle install
.
##Usage
To use this widget, copy instadash.coffee
, instadash.html
, and instadash.scss
into the /widgets/instadash
directory. Put the instadash.rb
file in your /jobs
folder.
To include the widget in a dashboard, add the following to your dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="instadash" data-view="Instadash"></div>
</li>
##Settings
- Instagram Client ID from instagram.com/developer
- Latitude and Longitude for your desired location. Easily obtained from forward geocoding sites such as geocoder.ca
- Default schedule set to fetch photos every 10 minutes but can be changed from within instadash.rb.
This is awesome, thanks for sharing mate!