Skip to content

Share image and video to instagram feed and stories

License

Notifications You must be signed in to change notification settings

WestFlow127/ShareInstagram

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 83.4%
  • Ruby 10.5%
  • Objective-C 6.1%