Share to the Instagram feed and Stories from Unity.
Instagram Share Kit opens Instagram with your image or video ready to post: to the feed (or Reels and messages, the player picks), or as a Story with an optional sticker on top or a gradient behind it. There is no Instagram SDK to install and no login: set your Facebook App ID once and pass a file path.
Setup is zero. On Android the plugin brings its own FileProvider, the Instagram manifest query and its androidx dependency; on iOS a build step adds the Instagram URL schemes and the Photos text to Info.plist.
Share in one line
Set your Facebook App ID once, then pass a file path: Instagram opens with your story.
Feed and Stories
Feed images and videos, and image, video, sticker and gradient Stories.
Zero setup
No manifest edits, no Gradle templates, no dependency resolver, no Instagram SDK.
Android and iOS
Instagram's Story intents and pasteboard sharing behind one C# API.
Description
SHARING
- Feed: image or video, through Instagram’s share screen (feed, Reels or messages)
- Stories: image or video background
- Stories: a sticker on a two-colour gradient, or an image with a sticker on top
- Check whether Instagram is installed
- Optional attribution link on Android, for apps Meta has approved
PLATFORMS
- Android: Instagram’s Story and share intents through the plugin’s own FileProvider; works with files in persistentDataPath and temporaryCachePath, no storage permission
- iOS: Stories through Instagram’s official pasteboard sharing; feed posts through the iOS share sheet (iOS has no official direct feed route)
- Editor and other platforms: every call is a safe no-op
ZERO SETUP
- No Instagram SDK, no login
- No AndroidManifest edits: the FileProvider and the Instagram query merge in from the plugin
- No Gradle templates or External Dependency Manager: androidx.core comes from the plugin’s own build.gradle
- ProGuard keep rules included for minified builds
DEMO
- Every share call on one screen, with a sample image, sticker and video and a live story preview
- Portrait and landscape
REQUIREMENTS
- Unity 6 (6000.0) or newer, with Android and/or iOS build support
- The Instagram app on the player’s device
- A Facebook App ID for Stories (free, from developers.facebook.com)
The kit shares files you already have. It does not take screenshots or record gameplay video itself.
THIRD-PARTY
Includes the Nunito font (SIL Open Font License 1.1) and Material Symbols icons (Apache License 2.0) in the demo. See the documentation. Instagram is a trademark of Meta Platforms, Inc.; this package is not affiliated with or endorsed by Meta.
If you have any questions, requests or something isn’t working, please send me an email at: support@hardartcore.com
Release notes
- v2.0
- iOS support: Stories through Instagram’s pasteboard API, feed sharing through the share sheet.
- Stories send your Facebook App ID, which Meta requires.
- Zero setup on Android: no AAR, no manifest edits, no Gradle templates, no External Dependency Manager.
- A new demo in portrait and landscape. Unity 6 or newer.
- v1.3
- InstagramShareHelper is now a static class. No need to add it to your scene.
- Update documentation.
- v1.2
- Add: option to set a custom extension to file providers name.