I struggled a while to create a dashing widget that would display images posted by a specific user. I build this upon the great foundation by @mjamieson that can be found here. To run this you will need a Dashing dashboard, the official Instagram ruby gem and access to the Instagram Developer API.
You will need to put some files into the right place in order to make this work:
instagram.rb
goes into the/jobs/
subfolder of your dashing installation- Add your Instagramm access tokens to the
instagram.rb
file (you maybe want to use environment variables inside a separate.env
file) - For the three files called
instadash
(.coffee
,.scss
and.html
) you go into the/widgets/
subfolder of your dashing installation and put them into a new folder calledinstadash
- Then add the widget to your
your-dashboard.erb
file - Run
bundle install
- Start your dasboard (
dashing start
)
Doesn't work. "LoadError: cannot load such file -- instagram"