Dandruff or scalp irritation? Try BLOO.

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

    X Bot for New Threads

    Meta
    proposal
    5
    12
    702
    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.
    • pilkyP
      pilky @Dakota
      last edited by

      @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
      • ProgestTeeP
        ProgestTee
        last edited by

        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

        pilkyP DakotaD 2 Replies Last reply Reply Quote 0
        • pilkyP
          pilky @ProgestTee
          last edited by

          @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

          ProgestTeeP 1 Reply Last reply Reply Quote 0
          • pilkyP pilky referenced this topic on
          • ProgestTeeP
            ProgestTee @pilky
            last edited by

            @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 😄

            pilkyP 1 Reply Last reply Reply Quote 0
            • pilkyP
              pilky @ProgestTee
              last edited by pilky

              @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

              ProgestTeeP 1 Reply Last reply Reply Quote 0
              • ProgestTeeP
                ProgestTee @pilky
                last edited by

                @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
                • DakotaD
                  Dakota @ProgestTee
                  last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • ProgestTeeP
                    ProgestTee
                    last edited by ProgestTee

                    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
                    • ProgestTeeP
                      ProgestTee
                      last edited by

                      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.

                      bradB 1 Reply Last reply Reply Quote 0
                      • bradB
                        brad @ProgestTee
                        last edited by

                        @ProgestTee Awesome work!

                        1 Reply Last reply Reply Quote 0
                        • Z
                          zawisza
                          last edited by

                          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
                          • First post
                            Last post