* 연동 버튼을 누르면 Mastodon ID(`username@domain`)를 입력받는다. * `domain` 부분을 추출해서 * WebFinger 조회 * NodeInfo 조회 http://nodeinfo.diaspora.software/ * 구현체 확인 * 이미 해당 Mastodon 인스턴스에 앱으로 등록되어 있나 확인한다. * 없으면 먼저 [OAuth 앱을 등록](https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#apps)하고 우리 DB에 키를 저장한다. * 이후로는 일반적인 OAuth 플로우와 동일 * [툿하기 API](https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#posting-a-new-status) * `spoiler_text`를 활용할 수 있을 것 같다. * 해시태그를 달아야 할까? * n개 연동이 가능해야 할 듯
username@domain)를 입력받는다.domain부분을 추출해서spoiler_text를 활용할 수 있을 것 같다.