在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Shinmera/tooter开源软件地址(OpenSource Url):https://github.com/Shinmera/tooter开源编程语言(OpenSource Language):Common Lisp 100.0%开源软件介绍(OpenSource Introduction):About TooterThis is a client library implementing the full v1 REST API protocol for Mastodon. How ToBefore you start, you'll need an account on some Mastodon instance. For the purposes of this documentation we'll simply pick mastodon.social. Once you've got Tooter loaded you'll first need to create a
Once you have a client set up, you need to authorise it against your account so that you can make requests on your behalf.
This will return an URL as its secondary value. Visit this URL in your browser, click on the authorize button, and copy the code it displays. Then call
If everything goes well this should return a fully authorised client instance.
From here on out you can make use of the full API Mastodon API. See the definition index below.
Persisting Client SettingsOnce you have authorised your client, you will probably want to save the information somewhere so that the user doesn't need to re-authorise every time. To do this, simply save the Writing an Application LibraryIf you write an application on top of Mastodon and would like to offer this as another re-usable library, you should create a subclass of |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论