@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
23 lines • 633 B
JavaScript
;
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