Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.21 KB

README.md

File metadata and controls

43 lines (25 loc) · 1.21 KB

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 ⁉️ and/or pull requests 🔃. If you use ShareInstagram in your app I'd love to hear about it and feature your animation here!

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

Your deep link will only work if you ask permission to instagram. You can do it here: https://help.instagram.com/contact/605050879855497


May 2018 - Brazil