@hongminhee@hollo.social · Reply to 염산하

@ysh @rangho_220 북마크와 좋아요는 Hollo 관리 페이지에 있는 내보내기 기능을 쓰시면 CSV로 저장하실 수 있습니다. 포스트와 부스트는 제가 다른 댓글에서 언급한 방식(ActivityPub의 발신함 조회)으로 가능할 것 같습니다! (일반 포스트는 "type": "Create"로, 부스트는 "type": "Announce"로 표시됩니다.)

https://hollo.social/@hongminhee/019531ff-9e05-7152-b100-f6a8272b016f

hollo.social

@rangho_220@rangho.moe 로컬 타임라인…

@rangho_220@rangho.moe 로컬 타임라인도 발신함(outbox)을 긁으면 되긴 합니다! 예를 들어 랭호 님 프로필을 `Accept: application/activity+json` 헤더와 함께 요청하면… ``` $ curl -s -H'Accept: application/activity+json' https://rangho.moe/@rangho_220 | jq . { "@context": […], "id": "https://rangho.moe/@rangho_220", "type": "Person". "featured": "https://rangho.moe/@rangho_220/pinned", "featuredTags": "https://rangho.moe/@rangho_220/tags", "inbox": "https://rangho.moe/@rangho_220/inbox", "followers": "https://rangho.moe/@rangho_220/followers", "following": "https://rangho.moe/@rangho_220/following", "liked": "https://rangho.moe/@rangho_220/liked", "name": "우주스타 아이도루 랭호 🌠", "outbox": "https://rangho.moe/@rangho_220/outbox", "preferredUsername": "rangho_220", "url": "https://rangho.moe/@rangho_220", … } ``` 이런 식으로 나오는데, 여기 보면 `outbox` URL이 나오죠. 그걸 또 요청해보면… ``` $ curl -s -H'Accept: application/activity+json' https://rangho.moe/@rangho_220/outbox | jq . { "type": "OrderedCollection", "id": "https://rangho.moe/@rangho_220/outbox", "@context": […], "totalItems": 141, "first": "https://rangho.moe/@rangho_220/outbox?cursor=0" } ``` 이렇게 나오고요. `first`를 또 따라가면… ``` $ curl -s -H'Accept: application/activity+json' https://rangho.moe/@rangho_220/outbox?cursor=0 | jq . { "type": "OrderedCollectionPage", "id": "https://rangho.moe/@rangho_220/outbox?cursor=0", "@context": […], "partOf": "https://rangho.moe/@rangho_220/outbox", "next": "https://rangho.moe/@rangho_220/outbox?cursor=40", "orderedItems": [ { "@context": […], "id": "https://rangho.moe/@rangho_220/019531fc-23ca-7523-8a62-6930fc3c8137#create", "type": "Create", "actor": "https://rangho.moe/@rangho_220", "object": { "id": "https://rangho.moe/@rangho_220/019531fc-23ca-7523-8a62-6930fc3c8137", "type": "Note", "attributedTo": "https://rangho.moe/@rangho_220", "content": "<p>안드로이드용 클라 괜찮은거 없나 모시돈 말구</p>\n", "contentMap": { "ko": "<p>안드로이드용 클라 괜찮은거 없나 모시돈 말구</p>\n" }, "likes": { "id": "https://rangho.moe/@rangho_220/019531fc-23ca-7523-8a62-6930fc3c8137#likes", "type": "Collection", "totalItems": 0 }, "published": "2025-02-23T08:46:02.698Z", "replies": { "id": "https://rangho.moe/@rangho_220/019531fc-23ca-7523-8a62-6930fc3c8137#replies", "type": "OrderedCollection", "totalItems": 0 }, "sensitive": false, "shares": { "id": "https://rangho.moe/@rangho_220/019531fc-23ca-7523-8a62-6930fc3c8137#shares", "type": "Collection", "totalItems": 0 }, "source": { "type": "as:Source", "content": "안드로이드용 클라 괜찮은거 없나 모시돈 말구", "mediaType": "text/markdown" }, "to": "as:Public", "url": "https://rangho.moe/@rangho_220/019531fc-23ca-7523-8a62-6930fc3c8137" }, "published": "2025-02-23T08:46:02.698Z", "to": "as:Public" }, … ] } ``` 이런 식으로 올린 게시물이나 공유한 게시물들이 보이기 시작합니다. 다음 페이지는 `next` URL을 따라가면 되고요.