Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Wrapper to get your Instagram Stories from Instagram's API in Ruby

License

Notifications You must be signed in to change notification settings

kyleturman/instagram-stories-api-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Stories API

First and foremost, this is just an example of what is capable. Do not use this code to spam, cause harm, or otherwise violate the Instagram API Terms of Use. Don't blame me if Instagram suspends your account. :D

This is an example of how to access the Instagram Stories API, get your stories, and do what you want with them. I believe in an open internet and having access to the content you create. Hopefully things like this can encourage Instagram to provide more access to their API's and help us create more beautiful things on the web.

How it works

This API wrapper spoofs the user agent to pretend to be a random Android phone, logs-in, stores cookies, and requests the API.

instagram = InstagramStoriesAPI.new()
@user_stories = instagram.get_user_stories()
@stories = instagram.get_stories()

What can I do with it?

I wrote a script hosted on Heroku that polls the API every hour or so and uploads any new Instagram Stories I post to Tumblr so I can keep them around longer. http://kyleturman-instastories.tumblr.com

Shout outs

Shout out to mgp25's Instagram-API project. I gleaned a few ideas from how to generate ids and user agents from that project.

Shout out to CaliAlec's ChromeIGStory project for helping me get started the right foot and providing inspiration.

Questions?

Hit me up on Twitter if you want to chat about it.

About

Wrapper to get your Instagram Stories from Instagram's API in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages