"nowplaying" post to Mastodon via iTunes for mac
Japanese version is here
- Open the Script Editor.
- Copy nowplaying_for_mac.js 's text to Script Editor.
- Open the Mastodon WebUI settings used for posting.
- Open "Your applications" of "Development" and press "NEW APPLICATION".
- Add appropriate application name and "Scopes" checks at least "write: statuses" only.
- Press "SUBMIT" and press the name of the application you just created and copy the strings in the column "Your access token".
- Return to the Script Editor and paste the access token into the "mastodon_access_token" field.
- In the "mastodon_server" field, enter the server address you want to post.
- Save or export as file format "application".
- Execute the exported application.
Maya Minatsuki
Mastodon account: mayaeh
I'm glad that you can tell me if there are any mistakes.
https://github.com/JXA-Cookbook/JXA-Cookbook/wiki
https://github.com/JXA-Cookbook/JXA-Cookbook/wiki/iTunes
https://blog.8tak4.com/post/163793077435/tweet-nowplaying-using-javascript
http://kanzmemo.cocolog-nifty.com/blog/2018/02/javascript-fo-3.html