Share image and video to instagram feed and stories
Sharing a image to booth instagram feed and stories
You can either directly copy [ShareInstagram.swift] into your project or you can use CocoaPods:
pod 'ShareInstagram'
let share = ShareInstagram()
share.postToStories(image: image, backgroundTopColorHex: backgroundTopColor, backgroundBottomColorHex: backgroundBottomColor, deepLink: "https://www.[yourdeeplink].com")
Fabricio Oliveira | (https://www.linkedin.com/in/fabricio-eustaquio/)
Feel free to collaborate with ideas 💭, issues ⁉️ and/or pull requests 🔃. If you use ShareInstagram in your app I'd love to hear about it and feature your animation here!
The license is provided in the project folder. This is based on the new share documentation provided by facebook to developers: https://developers.facebook.com/docs/instagram/sharing-to-stories#ios-developers
May 2018 - Brazil