ShareInstagram
Sharing a image to booth instagram feed and stories
Installation
You can either directly copy [ShareInstagram.swift] into your project or you can use CocoaPods:
pod 'ShareInstagram'
Example
let share = ShareInstagram()
share.postToStories(image: image, backgroundTopColorHex: backgroundTopColor, backgroundBottomColorHex: backgroundBottomColor, deepLink: "https://www.[yourdeeplink].com")
Project Details
Requirements
- Swift 5
- Xcode 11.0+
Author
Fabricio Oliveira | (https://www.linkedin.com/in/fabricio-eustaquio/)
Contributing
Feel free to collaborate with ideas 💭, issues
License
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
https://help.instagram.com/contact/605050879855497
Your deep link will only work if you ask permission to instagram. You can do it here:May 2018 - Brazil