UNPKG

@joshfarrant/shortcuts-js

Version:
23 lines 633 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @action Post on Instagram * @section Content Types > Sharing > Instagram * @icon Instagram * * Opens the photo passed into this action in the Instagram app and copies the caption to the clipboard. * * ```js * postOnInstagram({ * caption: 'My caption', * }); * ``` */ const postOnInstagram = ({ caption = '', }) => ({ WFWorkflowActionIdentifier: 'com.burbn.instagram.openin', WFWorkflowActionParameters: { InstagramCaption: caption, }, }); exports.default = postOnInstagram; //# sourceMappingURL=postOnInstagram.js.map