ShareInstagram
同时分享图片到Instagram的动态和故事
安装
您可以直接将[ShareInstagram.swift]复制到您的项目中或者使用CocoaPods
pod 'ShareInstagram'
示例
let share = ShareInstagram()
share.postToInstagramStories(image: image, backgroundTopColorHex: backgroundTopColor, backgroundBottomColorHex: backgroundBottomColor, deepLink: "https://www.[yourdeeplink].com")
项目详情
需求
- Swift 3.3
- Xcode 9.0+
作者
Fabricio Oliveira | (https://www.linkedin.com/in/fabricio-eustaquio/)
贡献
自由地与想法合作
许可
许可是项目文件夹中提供的。这基于Facebook提供给开发者的新分享文档: https://developers.facebook.com/docs/instagram/sharing-to-stories#ios-developers
https://help.instagram.com/contact/605050879855497
你的深层链接只有在请求Instagram的权限时才会工作。你可以在这里操作:2018年5月 - 巴西