radi8's wall

← back to profile

codeleaf:

Hello there! We are a new startup website where a limited amount of creators will write tech-related articles for a wide audience. Would you like to join and write your own posts?

6/26/2023, 7:40:31 PM
radi8:

oh god, not you again

but is it “UpDaNews” or Codeleaf, because codeleaf is already a thing…

6/27/2023, 12:19:14 AM
lesbian:

hi. who is @turtle84375

6/24/2023, 7:37:56 PM
radi8:

why do you ask

6/25/2023, 2:32:01 AM
lesbian:

i think i saw you mention them in an older post and their account does not exist

6/25/2023, 8:16:08 AM
theglasspenguin:

quick question: are you actually reid or is this a joke that the actual reid is desperately trying to ascend

6/22/2023, 3:15:02 AM
radi8:

I’m @radi8

6/22/2023, 4:13:32 AM
esben:

how do you just post a string? (without the author quote thing), just like the bare bone, /make waste of say hello world with request

6/14/2023, 5:34:54 PM
radi8:

just remove the stuff that is in the string

6/14/2023, 8:05:31 PM
esben:

I tried, and just left the {“post”} but it didn’t work

6/14/2023, 8:31:56 PM
esben:

what is the simplest way to just post a simple string

6/14/2023, 8:32:19 PM
radi8:

…did you include the headers?

6/14/2023, 9:42:54 PM
esben:

idk, ig I’ll figure it out

6/15/2023, 7:11:25 AM
esben:

Wait, is it, post = requests.post("https://api.wasteof.money/posts", json = ("Hallo"))

6/15/2023, 8:27:06 AM
radi8:

no, it should be requests.post("https://api.wasteof.money/posts", headers = authJson, json = {"post": f"hello world"})

6/15/2023, 1:33:30 PM
esben:

thx

6/15/2023, 1:41:42 PM
esben:

ok thanks alot I got it working, how do you make it run like once a day through replit

6/15/2023, 1:47:53 PM
radi8:

I really wouldn't recommend replit. If you need the bots to be run daily, I'd recommend that if you have a Linux machine like an rpi, you can make a cron job for it.

6/15/2023, 1:51:38 PM
esben:

All I have is a chromebook….. there isn’t really another option

6/15/2023, 2:11:57 PM
radi8:

:(

if you want to email me, I can help you by running it on rpi, but there might be other options out there.

6/15/2023, 3:27:49 PM
esben:

oh ok, thanks, should i email you or just get your discord from the waste of server

6/15/2023, 3:33:02 PM
radi8:

either work fine, but preferably email.

6/15/2023, 3:59:36 PM
esben:

alright what’s your email then

6/15/2023, 4:01:31 PM
radi8:

or discord, but [email protected]

(discord will be a lot easier if you want to do that)

6/15/2023, 4:23:22 PM
esben:

Alright

6/15/2023, 7:07:33 PM
asfsdgdfd:

cool pfp! :D

6/11/2023, 7:01:15 PM
grippins:

^

6/11/2023, 7:04:17 PM
radi8:

:)

6/11/2023, 7:59:41 PM
radi8:

thanks :) (it's my banner, the optimized version of you were here when it was that.)

6/11/2023, 7:59:31 PM
april:

thanks for the follow :D

6/1/2023, 6:55:06 PM
radi8:

yeah :)

6/1/2023, 6:55:54 PM
oren:

this is what happened trying to run wasteof.code on my Mac:

5/31/2023, 6:22:41 PM
radi8:

hmm, odd

maybe try it from the command line?

5/31/2023, 6:25:10 PM
oren:

go on discord

5/31/2023, 6:41:33 PM
dertermenter:

just wondering…. what posts of mine did you comment on which are now deleted?

5/31/2023, 7:55:11 AM
radi8:

[redacted]

5/31/2023, 11:41:45 AM
dertermenter:

wait did you delete your own comment? I thought it was one of my posts that were deleted

5/31/2023, 11:54:28 AM
radi8:

yeah

5/31/2023, 1:16:35 PM
radi8:

I deleted my comment

5/31/2023, 1:16:48 PM
dertermenter:

i see

5/31/2023, 2:27:35 PM
radi8:

it was about ranch and pizza

5/31/2023, 3:17:02 PM
dertermenter:

i see. Do you think its a bad combo?

5/31/2023, 3:45:22 PM
radi8:

nope, but I meant Mac river lodge poles, not pizza

5/31/2023, 4:32:35 PM
esben:

It WORKED!!!! Thanks SO much

5/30/2023, 3:09:26 PM
radi8:

yep :)

5/30/2023, 3:11:15 PM
esben:

Hmm, ok i made the bot, but after putting in my token and running it through replit, it say “error, cant complete this action while logged out” but i was logged in with waste of money running i another tab

5/30/2023, 1:04:24 PM
radi8:

did you triple click to get the full token?

5/30/2023, 1:11:57 PM
esben:

still says that :/

5/30/2023, 1:24:39 PM
radi8:

hmm

run this code in your python shell

import requests,json;requests.post("https://api.wasteof.money/session", json={"username":"username here","password":"pwd here"}).json()

5/30/2023, 1:38:46 PM
esben:

gave me same error :/

5/30/2023, 2:11:09 PM
radi8:

can I see your code?

5/30/2023, 2:21:48 PM
esben:

It’s the exact same as yours, only i put my token in

5/30/2023, 2:39:25 PM
esben:

(i put random numbers for the token here)

5/30/2023, 2:40:52 PM
esben:
import requests
import json
quote = requests.get("https://api.breakingbadquotes.xyz/v1/quotes").json()[0]
author = quote["author"]
quote = quote["quote"]
print(quote)
authJson = {"Authorization": "[redacted] (029485729345872039456374)"}
post = requests.post("https://api.wasteof.money/posts", headers = authJson, json = {"post": f"<h2>{author}</h2> <p>{quote}</p>"})
print(post.json())
5/30/2023, 2:40:15 PM
radi8:

make authJson = {“Authorization”: requests.post(“https://api.wasteof.money/session”, {“username”:”here”,”password”:”pwd”).json()[“token”])}

5/30/2023, 2:44:44 PM
radi8:

might be a bit goofed up as I'm in class

5/30/2023, 2:45:36 PM
radi8:

might be a bit goofed up as I'm in class

5/30/2023, 2:45:36 PM
esben:

says it’s incorrect, can you put it together pls? sorry :(

5/30/2023, 2:53:02 PM
radi8:

what's incorrect? what's the error?

5/30/2023, 2:57:33 PM
radi8:

authJson = {"Authorization":requests.post("https://api.wasteof.money/session", json={"username":"username here","password":"pwd here"}).json()["token"]}

5/30/2023, 3:01:10 PM
esben:

So yeah, i haven’t change it to harry potter or anything yet, just pasted my token, and that was the only change

5/30/2023, 2:41:43 PM
esben:

How can you earn more wombucks, or it that not possible

5/30/2023, 12:02:06 PM
radi8:

not really possible, but there was a “bot jam” where people got some

i really need to rewrite it though

5/30/2023, 12:06:58 PM
esben:

ah ok

5/30/2023, 12:07:17 PM
radi8:

I mean I can give them to you

5/30/2023, 3:18:12 PM
alright:

alright

5/30/2023, 8:15:59 AM
radi8:

alright

5/30/2023, 12:07:48 PM
silly:

thanks for mentioning me in a deleted post :3

5/28/2023, 2:43:44 PM
radi8:

no problem!!

5/28/2023, 3:29:02 PM
dertermenter:

thanks for the follow!

5/10/2023, 9:19:19 PM
radi8:

no problem

5/10/2023, 9:46:10 PM
mythus:

have a nice day radi8! stay safe and have fun

5/10/2023, 12:02:14 PM
radi8:

thanks, you too!

5/10/2023, 12:02:41 PM