ShareShortcuts
Dupliquer « Mastgur »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que blue soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
49K
Enregistré
1
Actions
6
Catégorie
Social Network
Version
1.0
Langue
EN

Aperçu

![image](https://user-images.githubusercontent.com/43663476/127241975-4e26a587-1cea-49c3-a655-1a14138162a7.png)

## Media post to Mastodon for iOS via Imgur upload.

The upcoming [Mastodon for iOS app](https://joinmastodon.org/apps) currently has a single Siri Shortcut action - "Post [Text] on Mastodon" - which only allows one to pass plain text to the app (and then to the service.) When a friend of mine [replied](https://mstdn.cloud.themaymeow.com/@emma/106654320972606699) to my links to [my Share Sheet-destined Mastodon for iOS Siri Shortcut](https://github.com/extratone/i/issues/85) requesting for clarification, I just sortof... whipped this one up without any revision or hesitation, and then felt compelled to publish it when it immediately functioned correctly on [its very first run](https://mastodon.social/@DavidBlue/106655155851383761). (100% certain that success made it a first to do so among my various projects in Siri Shortcuts.)

⇨ [**Video Demo**](https://user-images.githubusercontent.com/43663476/127242192-d55b5a1a-661f-44b8-8c46-746930bc132c.MOV)

## Steps

1. Prompts to select from Photos app (single file mode.)

2. Prompts text input for the (optional) Title of the Imgur post.

3. Prompts text input for the (optional) Description of the Imgur post - by default, I have also added #iOS and #social-media, but obviously, please personalize these for your own use.

4. Uploads the media to Imgur *anonymously* (by Default) and retrieves the Direct URL to the corresponding post.

5. Prompts text input in front of said retrieved URL for the actual content of the Toot.

6. Posts <your text> <imgur url> [to Mastodon](https://mastodon.social/@DavidBlue/106655409169365663)!

### Mastodon Details

* "[What's that?](https://joinmastodon.org)"

* [joinmastodon.org/apps](https://joinmastodon.org/apps)

* [The Mastodon Project's Patreon Page](https://www.patreon.com/mastodon) (Become a patron to gain beta access to the iOS app, coming very soon!)

* [My celebration of the *third-party* Mastodon apps currently available on iOS](https://bilge.world/mastodon-ios-apps)

***

## Contact

* [**VCF Contact Card**](https://bit.ly/whoisdavidblue)

* [Email](mailto:davidblue@extratone.com)

* [Twitter](https://twitter.com/NeoYokel)

* [Mastodon](https://mastodon.social/@DavidBlue)

* [Discord](https://discord.gg/0b9KQUKP858b0iZF)

* [*Everywhere*](https://www.notion.so/rotund/9fdc8e9610b34b8f991ebc148b760055?v=c170b58650c04fbdb7adc551a73d16a7)...

![Masto Mascot iOS Art](https://i.snap.as/Y624NGHM.jpg)

Nouveautés

Version 1.0

First release

Historique des versions
1.0 28 juil. 2021

First release

Ce qu’il fait

6 actions
  1. Select Photos
  2. Imgur Upload
  3. Copy to Clipboard
  4. Text
  5. Send Post
    org.joinmastodon.app
  6. Comment
    ![image](https://user-images.githubusercontent.com/43663476/127241975-4e26a587-1cea-49c3-a655-1a14138162a7.png) ## Media post to Mastodon for iOS via Imgur upload. The upcoming [Mastodon for iOS app](https://joinmastodon.org/apps) currently has a si…

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#include 'actions/photos'
#define color green
#define glyph magicWand

const Photos = selectPhotos()
rawAction("is.workflow.actions.imgur.upload", {
	"WFImgurAnonymous": true,
	"WFImgurDescription": "{Ask} #iOS #social-media",
	"WFImgurDirectLink": true,
	"WFImgurTitle": "{Ask}",
	"WFInput": "Photos"
})
setClipboard(ImgurURLs)
rawAction("org.joinmastodon.app.SendPostIntent", {
	"ShowWhenRun": false,
	"content": "{}"
})
/*
![image](https://user-images.githubusercontent.com/43663476/127241975-4e26a587-1cea-49c3-a655-1a14138162a7.png)

## Media post to Mastodon for iOS via Imgur upload.

The upcoming [Mastodon for iOS app](https://joinmastodon.org/apps) currently has a single Siri Shortcut action - "Post [Text] on Mastodon" - which only allows one to pass plain text to the app (and then to the service.) When a friend of mine [replied](https://mstdn.cloud.themaymeow.com/@emma/106654320972606699) to my links to [my Share Sheet-destined Mastodon for iOS Siri Shortcut](https://github.com/extratone/i/issues/85) requesting for clarification, I just sortof... whipped this one up without any revision or hesitation, and then felt compelled to publish it when it immediately functioned correctly on [its very first run](https://mastodon.social/@DavidBlue/106655155851383761). (100% certain that success made it a first to do so among my various projects in Siri Shortcuts.)

⇨ [Video Demo](https://user-images.githubusercontent.com/43663476/127242192-d55b5a1a-661f-44b8-8c46-746930bc132c.MOV)

## Steps

1. Prompts to select from Photos app (single file mode.)
2. Prompts text input for the (optional) Title of the Imgur post.
3. Prompts text input for the (optional) Description of the Imgur post - by default, I have also added #iOS and #social-media, but obviously, please personalize these for your own use.
4. Uploads the media to Imgur *anonymously* (by Default) and retrieves the Direct URL to the corresponding post.
5. Prompts text input in front of said retrieved URL for the actual content of the Toot.
6. Posts <your text> <imgur  url> [to Mastodon](https://mastodon.social/@DavidBlue/106655409169365663)!

### Mastodon Details

* "[What's that?](https://joinmastodon.org)"
* [joinmastodon.org/apps](https://joinmastodon.org/apps)
* [The Mastodon Project's Patreon Page](https://www.patreon.com/mastodon) (Become a patron to gain beta access to the iOS app, coming very soon!)
* [My celebration of the *third-party* Mastodon apps currently available on iOS](https://bilge.world/mastodon-ios-apps)

***
## Contact
* [VCF Contact Card](https://bit.ly/whoisdavidblue)
* [Email](mailto:[email protected]) 
* [Twitter](https://twitter.com/NeoYokel)
* [Mastodon](https://mastodon.social/@DavidBlue)
* [Discord](https://discord.gg/0b9KQUKP858b0iZF)
* [*Everywhere*](https://www.notion.so/rotund/9fdc8e9610b34b8f991ebc148b760055?v=c170b58650c04fbdb7adc551a73d16a7)...


![Masto Mascot iOS Art](https://i.snap.as/Y624NGHM.jpg)
*/
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de blue

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité