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

  • 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.