액티비티 퍼브에 Place
타입이 아마도 트위터나 페이스북에서 글을 쓸 때 현재 위치를 남기는 용도인 것 같은데 장소에도 Like
를 하면 재밌을 것 같은데 생각해보니 페이스북에 이미 있는 것 같다.
@curry박준규 어쩐지 모든 것을 다 구현하는 프로젝트인 Friendica에서는 구현했을 것 같아서 테스트해 보니, 실제로 구현하고 있네요. 제가 아래 인용한 글이 Friendica에서 위치 공유해서 쓴 글인데, ActivityPub 프로토콜에서는 아래와 같이 표현되고 있습니다:
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"ostatus": "http://ostatus.org#",
"vcard": "http://www.w3.org/2006/vcard/ns#",
"dfrn": "http://purl.org/macgirvin/dfrn/1.0/",
"diaspora": "https://diasporafoundation.org/ns/",
"litepub": "http://litepub.social/ns#",
"toot": "http://joinmastodon.org/ns#",
"featured": {
"@id": "toot:featured",
"@type": "@id"
},
"schema": "http://schema.org#",
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
"sensitive": "as:sensitive",
"Hashtag": "as:Hashtag",
"quoteUrl": "as:quoteUrl",
"conversation": "ostatus:conversation",
"directMessage": "litepub:directMessage",
"discoverable": "toot:discoverable",
"PropertyValue": "schema:PropertyValue",
"value": "schema:value"
}
],
"id": "https://venera.social/objects/85a863ed-6368-115b-fd7f-671987855891",
"type": "Article",
"inReplyTo": null,
"diaspora:guid": "85a863ed-6368-115b-fd7f-671987855891",
"published": "2025-04-29T23:08:45Z",
"url": "https://venera.social/display/85a863ed-6368-115b-fd7f-671987855891",
"attributedTo": "https://venera.social/profile/hongminhee",
"sensitive": false,
"conversation": "https://venera.social/objects/85a863ed-6368-115b-fd7f-671987855891#context",
"name": "Setting my location",
"content": "This post purposes to test what if I set my location in a post.",
"contentMap": {
"en": "This post purposes to test what if I set my location in a post."
},
"source": {
"content": "This post purposes to test what if I set my location in a post.",
"mediaType": "text/bbcode"
},
"attachment": [],
"tag": [],
"location": {
"type": "Place",
"name": "Seoul, South Korea",
"latitude": "37.5666791",
"longitude": "126.9782914"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://venera.social/followers/hongminhee"
]
}
RE: https://venera.social/display/85a863ed-6368-115b-fd7f-671987855891
If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/019683d2-e90e-7b46-99a7-d9f6ae0c6b8c on your instance and quote it. (Note that quoting is not supported in Mastodon.)