GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Nordnick :verified: (nick@norden.social)'s status on Friday, 09-Sep-2022 23:17:57 JST Nordnick :verified: Nordnick :verified:

    @activitypub
    Is this group the right place to ask about details regarding implementation of #ActivityPub?

    I'm right now at a very basic first step: #Webfinger and users/actors lookup, so that the search from within a #Mastodon instance should find a remote user (e.g. using #Tusky).

    Unfortunately it looks like my implementation is missing something... ;-)

    Btw.: Using plain #PHP.

    In conversation Friday, 09-Sep-2022 23:17:57 JST from norden.social permalink
    • Embed this notice
      humanetech (humanetech@mastodon.social)'s status on Friday, 09-Sep-2022 23:20:53 JST humanetech humanetech
      in reply to

      @nick @activitypub

      With both the #ActivityPub hashtag and the #Guppe group you'll get best reach on the fedi.

      Other than that there's the #SocialHub community to ask, but it also has a great archive of past discussion to search in.

      Good starter topic: https://socialhub.activitypub.rocks/t/guide-for-new-activitypub-implementers/479

      Other than that I co-maintain 3 fedi-related lists on https://delightful.club with many projects codebases to check out.

      In conversation Friday, 09-Sep-2022 23:20:53 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: delightful.club
        Delightful Club

    • Embed this notice
      Nordnick :verified: (nick@norden.social)'s status on Saturday, 10-Sep-2022 19:59:30 JST Nordnick :verified: Nordnick :verified:
      in reply to
      • humanetech
      • Will 🌹🏴

      @datatitian @humanetech @activitypub
      Thanks for your answer.

      Yes, the response from my server.

      I currently try to get the first part of this to work:
      https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/

      So my server should respond in the right way to a webfinger request and a user lookup. And i test this directly from within #Mastodon using this account to do a search (usually just let #Tusky do a search).

      In conversation Saturday, 10-Sep-2022 19:59:30 JST permalink

      Attachments


    • Embed this notice
      Will 🌹🏴 (datatitian@social.coop)'s status on Saturday, 10-Sep-2022 19:59:36 JST Will 🌹🏴 Will 🌹🏴
      in reply to
      • humanetech

      @nick @humanetech @activitypub

      The response form your server? No that doesn't need a signature. We use http signature to verify the identity of the *requestor*

      In conversation Saturday, 10-Sep-2022 19:59:36 JST permalink
    • Embed this notice
      Nordnick :verified: (nick@norden.social)'s status on Saturday, 10-Sep-2022 19:59:37 JST Nordnick :verified: Nordnick :verified:
      in reply to
      • humanetech

      @humanetech @activitypub
      Thanks for your reply.

      Discovered the first mentioned URL right before my toot. It also links to "How to implement a basic ActivityPub server" (Mastodon)... that i've read multiple times... unfortunately it is good to explain the concept, but missing details for implementation.

      E.g. does the reply to a request for a specific user require a HTTP signature?

      In conversation Saturday, 10-Sep-2022 19:59:37 JST permalink
    • Embed this notice
      django (django@social.coop)'s status on Saturday, 10-Sep-2022 19:59:45 JST django django
      in reply to
      • humanetech
      • Will 🌹🏴

      @nick @datatitian @humanetech @activitypub have you tried using https://webfinger.net/ it can help to see if everything is well formed

      also feel free to look at how wordpress is doing it https://github.com/pfefferle/wordpress-activitypub/blob/master/includes/rest/class-webfinger.php#L68

      In conversation Saturday, 10-Sep-2022 19:59:45 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        WebFinger
      2. Domain not in remote thumbnail source whitelist: repository-images.githubusercontent.com
        wordpress-activitypub/class-webfinger.php at master · pfefferle/wordpress-activitypub
        ActivityPub for WordPress. Contribute to pfefferle/wordpress-activitypub development by creating an account on GitHub.
    • Embed this notice
      Nordnick :verified: (nick@norden.social)'s status on Saturday, 10-Sep-2022 19:59:46 JST Nordnick :verified: Nordnick :verified:
      in reply to
      • humanetech
      • Will 🌹🏴

      @datatitian @humanetech @activitypub

      And now i'm trying to figure out, what my implementation is missing at this point.

      Unfortunately i can't see any message from the #Mastodon server... in this case norden.social, where my account here is located.

      Good to know, that there is no HTTP signature required at this stage.

      What about the public key? Any restrictions or limitations?

      Any ideas to track that down?

      In conversation Saturday, 10-Sep-2022 19:59:46 JST permalink
    • Embed this notice
      Nordnick :verified: (nick@norden.social)'s status on Saturday, 10-Sep-2022 19:59:47 JST Nordnick :verified: Nordnick :verified:
      in reply to
      • humanetech
      • Will 🌹🏴

      @datatitian @humanetech @activitypub

      So i type in a search (using #Tusky to have a real request, that should be proven) for an existing user account on my (test) server. Response: Nothing...

      I can see one incoming webfinger request on my server and two requests for the users. So i assume, it will be satisfied with the webfinger result, but not with the user lookup, so it tries again. At least this is my current theory...

      In conversation Saturday, 10-Sep-2022 19:59:47 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.