Dandruff or scalp irritation? Try BLOO.

  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bioenergetic Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login

X Bot for New Threads

Meta
proposal
5
12
542
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    Dakota
    last edited by Jan 29, 2024, 10:17 PM

    A bot that post new forum threads from here to X. It looks like the bot for the forum who must not be named, @raypeater on X just broke as well so I think it would be a nice addition if anyone that has the knowledge could implement this.

    P 1 Reply Last reply Jan 29, 2024, 10:49 PM Reply Quote 0
    • P
      pilky @Dakota
      last edited by Jan 29, 2024, 10:49 PM

      @Dakota Nice idea. Forum API documentation is here in case anyone wants to have a shot at this: https://docs.nodebb.org/api/read/

      Fake Peater since 2020

      1 Reply Last reply Reply Quote 0
      • P
        ProgestTee
        last edited by Jan 30, 2024, 1:48 PM

        I'm making this rn.
        Posts will probably will look like this, but I might change that.

        Title
        bioenergetic.forum/topic/...
        Category
        #tag1 #tag2
        

        Suggestions welcome

        P D 2 Replies Last reply Jan 30, 2024, 1:53 PM Reply Quote 0
        • P
          pilky @ProgestTee
          last edited by Jan 30, 2024, 1:53 PM

          @ProgestTee Nice! Seems like you can keep the links short by skipping the part after the topic number (i.e. https://bioenergetic.forum/topic/61 instead of https://bioenergetic.forum/topic/61/x-bot-for-new-threads).

          Maybe include author's name too

          Fake Peater since 2020

          P 1 Reply Last reply Jan 30, 2024, 2:00 PM Reply Quote 0
          • P pilky referenced this topic on Jan 30, 2024, 1:53 PM
          • P
            ProgestTee @pilky
            last edited by Jan 30, 2024, 2:00 PM

            @pilky yep.

            @pilky said in X Bot for New Threads:

            Maybe include author's name too

            "niggergroyper, nigga, hitler..." Just looking at the recent posts. Sure why not 😄

            P 1 Reply Last reply Jan 30, 2024, 2:02 PM Reply Quote 0
            • P
              pilky @ProgestTee
              last edited by pilky Jan 30, 2024, 2:02 PM Jan 30, 2024, 2:02 PM

              @ProgestTee Lmao good point. Have the posts go through a filter first, a dictionary/regex. There's gotta be a shitton of those already made by someone. If you have offensive words in your name/post, well, bad luck, your post won't go on twitter.

              Fake Peater since 2020

              P 1 Reply Last reply Jan 30, 2024, 2:06 PM Reply Quote 0
              • P
                ProgestTee @pilky
                last edited by Jan 30, 2024, 2:06 PM

                @pilky Yea i might have to do that. I don't want the bot gone on the first day

                1 Reply Last reply Reply Quote 0
                • D
                  Dakota @ProgestTee
                  last edited by Jan 30, 2024, 2:21 PM

                  @ProgestTee awesome, can't wait to see the result!

                  1 Reply Last reply Reply Quote 0
                  • P
                    ProgestTee
                    last edited by ProgestTee Jan 31, 2024, 12:47 PM Jan 31, 2024, 12:44 PM

                    Well the bot is running. Getting the new threads takes a bit more work than expected, because the API doesnt seem to offer a way to list new threads. I request the newest posts and pick out the new threads from there, usually 1-2 requests are enough.
                    Twitter only allows for 50 posts / 24 hours on the free tier, so when theres a lot of activity the bot won't be able to repost every thread. If it gets rate limited it will just not post new threads until the wait period is over.
                    Currently it checks for posts every 20 mins.
                    This is what a post looks like for now.
                    It's @bioenergeticbot
                    c18d3538-471b-47e5-ae96-002f4dab0024-image.png

                    1 Reply Last reply Reply Quote 0
                    • P
                      ProgestTee
                      last edited by Feb 2, 2024, 8:43 AM

                      Excluding categories "The Junkyard", "Products", "Meta" for now - theres a lot more posts than the bot can repost.
                      Very simple profanity filter is in place.
                      Tags are reformatted to be compatible with Twitter.
                      Running every 10 mins now.

                      B 1 Reply Last reply Feb 5, 2024, 8:48 PM Reply Quote 0
                      • B
                        brad @ProgestTee
                        last edited by Feb 5, 2024, 8:48 PM

                        @ProgestTee Awesome work!

                        1 Reply Last reply Reply Quote 0
                        • Z
                          zawisza
                          last edited by Feb 6, 2024, 7:11 PM

                          If someone would like to re-post full topics to twitter (similar to thread unrolling but from forum to Twitter with basic censoring) this might be useful. It would only need a dedicated forum account to tag in topics to be reposted.

                          (Twitter integration is trivial and left as an exercises for the reader.)

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          1 / 1
                          • First post
                            12/12
                            Last post