Since your screen shot seems to be API documentation, FYI: [email protected] community.
Where can I get the auth key or is this just the password
auth is listed in your screenshot, that’s the login session JWT token. Use the login API call to get the token before you call CreatePost.
From what I understand, a key unique to bots is only in the proposal stage. Convention seems to be to create a regular end-user account through sign-up process and hit the checkmark on the profile that it is a bot. There may be instance-specific rules.
I have no idea what a honeypot on CreatePost does.
But there should also be a separate endpoint to get an auth token. (I don’t remember it off the top of my head). Then your bot should store that somewhere and send it as the auth parameter in every request.
Since your screen shot seems to be API documentation, FYI: [email protected] community.
auth is listed in your screenshot, that’s the login session JWT token. Use the login API call to get the token before you call CreatePost.
From what I understand, a key unique to bots is only in the proposal stage. Convention seems to be to create a regular end-user account through sign-up process and hit the checkmark on the profile that it is a bot. There may be instance-specific rules.
I have no idea what a honeypot on CreatePost does.
Ahh thank you for the help! Sorry for posting here, I just couldn’t find a better community to ask about this.
FYI: https://en.m.wikipedia.org/wiki/Honeypot_(computing)
But there should also be a separate endpoint to get an auth token. (I don’t remember it off the top of my head). Then your bot should store that somewhere and send it as the
auth
parameter in every request.I know what a honeypot is ;) It exists outside computing, such as spy vs. spy.
What I have no idea of is what Lemmy does internally with a honeypot post it creates. Auto-report comments on them?
https://github.com/LemmyNet/lemmy/blob/d909f3455ddb89d45f35c78c4ce96bd0896469b1/crates/api_common/src/utils.rs#L302
If the honeypot is set the request is simply discarded.