Hi There,

I’ve got a mod bot (https://github.com/noenfugler/LemmyModBot) in development that I’ve been using/training in asklemmy with the full knowledge of the other mods and the community owner.

I’ve just started getting an error when issuing GetComments for the asklemmy community (id 3106). I don’t think I made any code changes when this started happening, so I’m wondering if there has been some restriction placed or change made that I’m not aware of that could be causing this response from the API?

Thanks in advance

  • @BluetreefrogOP
    link
    English
    11 year ago
    1. Fetching is allowed. But not posting everywhere. You have to check the community id of the post / community and only respond to the wanted communities

    Hmm, this is library breaking (pylemmy). I’ve tried the same code with no changes on lemm.ee and it’s working fine, so is this something that can be reconsidered at lemmy.world I wonder? I’m not sure if it has been done to combat abusive actors, but if so then I imagine a bad actor could just achieve the same thing through activitypub on a less tightly controlled instance.

    • @RookiA
      link
      11 year ago

      The thing is. Then over activitypub its on the OTHERs instance server LW Server doesnt care if they are getting boxed. The others have most of the time less active users too, so they have even less to worry

      • @BluetreefrogOP
        link
        English
        11 year ago

        Ah, gotcha. Still learning about Activity Pub.

        Sorry for peppering you with questions like this, but wouldn’t requiring bots to grab all comments for the instance impose greater load on the server than letting them just grabbing selected communities?

        I’m not trying to be difficult, just trying to understand so that I can build a well-behaved bot.

        • @RookiA
          link
          11 year ago

          Its easier for the server to just give you “dumb” all comments of the instance. As rather particular 1 community.