The discussion thread is for casual and off-topic conversation that doesn’t merit its own submission.

  • Neblib 🥥🌴@mastodo.neoliber.al
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I was able to get my kbin thread booster bot for the NL mastodon working. Mastodon seems to still have some weirdness with Lemmy posts to Kbin showing up as Lemmy links instead of posts, but the bot is correctly finding the kbin threads and boosting them, which is allowing the posts to be visible to the NL Mastodon users. You can also follow @nl_kbin_booster from other Mastodon accounts too. I’ll get the code out here in the next few days but let me know if you have any thoughts or questions.

    • CoffeeAddict@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Sounds awesome! What is the best way to test this? Assuming I understand correctly, all we would need to do is make a thread and the bot would find it and boost it to Mastodon?

      • Neblib 🥥🌴@mastodo.neoliber.al
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        @CoffeeAddict that’s correct. I had a bug in my scheduler last night which made it miss your Armenia post, but I ran with a wider window to pick up those and it should be working now.
        The bot pulls the thread RSS at https://kbin.social/rss?magazine=Neoliberal once an hour and then for each post since the last run:

        • performs a search on the masto instance to get the post federated and get the masto post id
        • checks to see if it’s already been boosted by the bot
        • boosts it if not yet boosted.
        • Neblib 🥥🌴@mastodo.neoliber.al
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          @CoffeeAddict I could make it run more aggressively, but I figure an hour should be fine. I went with RSS as KBin’s API is very undocumented. Interestingly, I just found out this morning they also support jsonfeed, which could allow me to remove a rss reading dependency.