📷 Easy way to access your Instagram gallery and medias in Swift


Platform Swift Package Manager Swift Platform

InstaGallery is an easy way to access your Instagram account and get your gallery and get his media in a few steps.

How to use

  1. You need a Facebook Developer account, go to Facebook Developer and create a new account if you haven't yet
  2. Create a new Facebook application following the steps that appear on the official web site Create Facebook Application for Instagram
  3. Open your Info.plist
  4. Set a new key with name InstagramClientId and set your Instagram App Id in this key
  5. Set a new key with name InstagramRedirectURI and set with your Instagram App Redirect URI
  6. Set one more key with name InstagramClientSecret with the Instagram App Secret.
  7. Init GalleryController with method If you need retrieve the media selected, do you need set GalleryDelegate delegate with the optinal parameters delegate. For example
let galleryController = self)
let navigationController = UINavigationController(rootViewController: galleryController)
present(navigationController, animated: true, completion: nil)
  1. Enjoy! 🎉


InstaGallery is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'InstaGallery'

Then, run pod install

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "", .upToNextMajor(from: "0.4.0"))


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create pull request

Who made this?


  • Swift Tools 5.5.0
View More Packages from this Author


Last updated: Wed Mar 15 2023 09:04:10 GMT-0500 (GMT-05:00)