Skip Navigation

User banner
Posts
127
Comments
598
Joined
2 yr. ago

  • Shakedown testing, "test drive". Ok, so your federation outbound comments deliver to servers. Something is working.

  • Can you create comments? Subscribe to remote communities on other hosts? Is it working with shakedown testing?

  • The API uses the same system as the normal lemmy-ui website login. There is a login API call where you get a JWT token that is used with the auth parameter on other API calls (such as creating a comment or post that requires login).

    JavaScript example:

     
        
        http://lemmy.world/api/v3/user/login
    
        jsonBody= JSON.stringify( {
            username_or_email: "username",
            password: "secretpassword"
            } );
    
      

    Also found this bash shell script example: https://lemmy.ml/post/1829749

  • It does a real-time connection with a 10-second timeout, so I think they choose to restrict it to only logged-in users. The connection was failing pretty frequently in the version 0.17.4 era, but 0.18.2 is way more solid with PostgreSQL not being overloaded.

  • Some complexity with this. First off, you have to be logged in. I also used the full URL convention when searching, putting in "https://feddit.rocks/c/piped" as what to search for. Now lemmy.world link you shared works.

    EDIT I used the other convetnion, "!piped@feddit.rocks" on Beehaw and was able to get discover and first subscriber/join too.

  • your post got duplicated, this is the 2nd copy

  • open APIs for other instances to be able to access the content of your instance in order to make federation possible.

    the federation API is independent of the front-end client API. You can run headless, without lemmy-ui, and federation still works. The API structure for federation is standardized, the front-end client API is unique to Lemmy.

  • Even the person to person blocking is taking into consideration with that query. Lemmy's SQL output isn't well optimized for caching, it puts a lot of work on PostgreSQL to customize these views. It is only users who are not logged-in that would get a repeatable query.

  • Welcome to the Lemmy network.

    There is a pretty steep learning curve to this, and there have been a lot of little tweaks to the install that it's hard to know for certain what is causing your problems.

    Lemmy does not bring in messages automatically. You have to subscribe to each community from one user on your server. I see some of your listed communities have zero subscribers: https://globe.pub/communities?listingType=All&page=1

    You also have many that do list 1 subscriber, did it ever go past "pending" for that one user to "joined" for the community?

    Are you running on Ubuntu 22.04 server? How did you do the install?

  • Based on my testing, I do not find any limit. The SQL query to list them may have a limit, but I don't think the one that fetches posts/comments has a limit in that particular subquery/join.

    I have like 2000+ communities subscribed on one of my accounts, which makes for a lot of white space on the home page. This is just some of the B's in my list:

  • They still have fake content on the front page. In a bogus community.

  • Lemmy.world front page is back up, but I am now logged-out