• ericjmorey@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    So this is a web service that returns the ActivityPub data for any URL that returns an ActivityPub message. For instance this post (https://lemmy.ml/post/19589301) returns:

    {
      "@context": [
        "https://join-lemmy.org/context.json",
        "https://www.w3.org/ns/activitystreams"
      ],
      "type": "Page",
      "id": "https://lemmy.ml/post/19589301",
      "attributedTo": "https://lemmy.ml/u/hongminhee",
      "to": [
        "https://programming.dev/c/activitypub",
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "name": "BrowserPub: A browser for debugging ActivityPub and the ⁂fediverse",
      "cc": [],
      "mediaType": "text/html",
      "attachment": [
        {
          "href": "https://podcastindex.social/@js/113011966366461060",
          "mediaType": "text/html; charset=utf-8",
          "type": "Link"
        }
      ],
      "sensitive": false,
      "published": "2024-08-26T11:44:00.478179Z",
      "language": {
        "identifier": "en",
        "name": "English"
      },
      "audience": "https://programming.dev/c/activitypub",
      "tag": [
        {
          "href": "https://lemmy.ml/post/19589301",
          "name": "#activitypub",
          "type": "Hashtag"
        }
      ]
    }