No commit activity in last 3 years
No release in over 3 years
Gem allow upload photo to instagram
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.11
~> 10.0

Runtime

~> 0.9
 Project Readme

InstagramUploader

Installation

Add this line to your application's Gemfile:

gem 'instagram_uploader'

And then execute:

$ bundle

Or install it yourself as:

$ gem install instagram_uploader

Usage

Somewhere in your code:

require 'instagram_uploader'

Example

require 'instagram_uploader'

uploader = InstagramUploader::Uploader.new('login', 'password')
uploader.upload('./image.jpg', 'image_description')

You can't upload an image with description that will include control characters or symbol ' ( or many other things) before uploading i change my desc to

desc.gsub(/[\'\n]/, '  ').gsub(/[^[:print:]]/) {|x| x.ord}

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/q3pp/instagram_uploader.

License

The gem is available as open source under the terms of the MIT License.