fabricioeus / ShareInstagram

Share image and video to instagram feed and stories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Share image and video to instagram feed and stories

License:MIT License


Languages

Language:Swift 83.4%Language:Ruby 10.5%Language:Objective-C 6.1%