• Stars
    star
    198
  • Rank 196,898 (Top 4 %)
  • Language
    Swift
  • License
    MIT License
  • Created about 7 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple iOS Instagram's media insights App written in Swift

Insights for Instagram

A simple iOS Instagram's media insights App.

iOS Swift Build Status

Quick Start

Want to get the app running? Run this in your shell:

git clone https://github.com/adimango/insights-for-instagram.git
cd insights-for-instagram
pod install
open insights-for-instagram.xcworkspace

You will have a running version of the insights-for-instagram app by hitting Build > Run.

Features

  • Passwordless Reports, simply add your Instagram username, and start seeing reports right away
  • Best Engagement, insights for Instagram gives you information about which posts resonate better than others
  • Top Most Commented and Liked, the posts that generated the most comments or likes

Planned features

  • Best Day to Post, find out what your best time to post on Instagram is
  • Hashtag Performance, discover which hashtags deliver the most engagement

Questions

If you have questions about any aspect of this project, please feel free to open an issue.

Credits

  • Moya: network abstraction layer written in Swift
  • Realm: data layer written in Swift
  • Quick: behavior-driven development framework for Swift

License

MIT License. See LICENSE.

Updates

Apr 04, 2018: Banned private API

Instagram has banned getting data from https://www.instagram.com/{username}/?__a=1 With a bit of javascript we can still get the same json as before, but there are not workarounds yet for the get items queries.

// GET /api/users/:user_name -> returns user account details
// Below an example with National Geographic
https://insights-for-instagram.herokuapp.com/api/users/natgeo

Dec 09, 2017: Back on Track

The app is using a new Instragram API proxy, developed using /graphql/query and some web API params.

// GET /api/users/:user_name/media -> returns media
// Below an example with National Geographic
https://insights-for-instagram.herokuapp.com/api/users/natgeo/media 

Dec 01, 2017: Breaking Changes

The Instragram API media endpoints now returns to 404-pages. After more of 20k downloads in just few month, Instagram removed the public API. However, the advanced queries are still available and a workaround will be push soon!