Message from @¯\_(ツ)_/¯

Discord ID: 507852392218361867


2018-11-02 09:36:06 UTC  

you send json, endpoints return xml

2018-11-02 09:36:08 UTC  

Wait ... it is JSON, but also XML. That's weird.

2018-11-02 09:36:28 UTC  

i'm wrong, you just send params

2018-11-02 09:36:29 UTC  

Ah, I remember. For some reason, I got XML in one call and JSON in another. I have no clue why.

2018-11-02 09:36:32 UTC  

It seems weird to me.

2018-11-02 09:37:02 UTC  

When posting an image, you get XML.

2018-11-02 09:37:19 UTC  

actually dunnolol, fuck it i'm tired ¯\_(ツ)_/¯

2018-11-02 09:37:23 UTC  

When posting a status, you send JSON.

2018-11-02 09:38:20 UTC  

Maybe I was using the endpoint weird, but the code is tested and I've been using it for a while, so at least it works. But I might still be needlessly complicated about it. Not sure - I reverse engineered it in the web debugger, because I was too lazy to read the manual. lel

2018-11-02 09:39:45 UTC  

Ah, and you mentioned OAuth: I guess you need it for three legged authentication, i.e. web applications authenticating you to the social media service on your behalf, without having to give away your credentials, just the way when you authorize an app to post to Twitter or Facebook.

2018-11-02 09:40:01 UTC  

Not sure if you can do that with HTTP basic auth.

2018-11-02 09:40:09 UTC  

nope

2018-11-02 09:40:53 UTC  

Ah, okay. That's what I thought, but I was not 100% sure. If you don't think so, either, then you probably can't.

2018-11-02 09:41:02 UTC  

as in you could but you'd end up reimplementing oauth flow, so why bother :^)

2018-11-02 09:41:37 UTC  

Right. Whatever token magic you would have to build would have to basically come down to the same steps and mechanisms OAuth uses already.

2018-11-02 09:42:05 UTC  

So, not sure how GNU Social would do "web apps" and that sort of stuff. They probably cannot right now.

2018-11-02 09:42:49 UTC  

But I am reading some OAuth tests in the GNU Social source code. Not sure if that's a planned feature or already in.

2018-11-02 09:43:25 UTC  

fucking opensource

2018-11-02 09:43:34 UTC  

That's good, no?

2018-11-02 09:44:05 UTC  

when someone bothers to write the docs :^)

2018-11-02 09:44:24 UTC  

Eh, it's better than not being able to contribute at all.

2018-11-02 09:44:33 UTC  

oh ... wait, now I understand your comment

2018-11-02 09:45:00 UTC  

You meant to hint at how bad or out of sync the docs are for many OSS projects. Agreed.

2018-11-02 09:45:16 UTC  

The best manual is the source code.

2018-11-02 09:45:18 UTC  

¯\_(ツ)_/¯

2018-11-02 09:46:05 UTC  

But, at least GNU Social doesn't have some weird client agreement like Minds. Minds devs wanted me to sign some weird agreement before contributing.

2018-11-02 09:46:54 UTC  

It was something about intellectual property. I didn't read it all. I just said no. I have no patience dealing with that stuff when I am doing them the favor to give them source code for free. No thanks.

2018-11-02 09:47:41 UTC  

you'd leak their secret crud sauce

2018-11-02 09:47:49 UTC  

no kidding ...

2018-11-02 09:47:55 UTC  

Minds is kind of ... wonky.

2018-11-02 09:48:23 UTC  

if it's not decentralized it's not worth the effort :v

2018-11-02 09:48:30 UTC  

I don't like the source that much, but I like the platform: no char limit and blog posts.

2018-11-02 09:48:43 UTC  

if by some magic happenstance they get popular i expect they turn into yet another facebook

2018-11-02 09:49:02 UTC  

They are already kind of weird. I don't like how Ottman is running a lot of things.

2018-11-02 09:49:12 UTC  

And, I think they have the same aversion against loli as Gab.

2018-11-02 09:50:14 UTC  

Andrew Torba was semi-nice about letting people build wrappers for their API. I had reverse engineered one in Python and had been the maintainer for a Python package on PyPi (pip install gab-api), but Torba asked us to remove those packages, so I was nice and did.

2018-11-02 09:50:25 UTC  

I am still maintainer for a Mind API package for Python.

2018-11-02 09:51:26 UTC  

But I had two of my bots/utility accounts axed by Minds staff now, so I kind of gave up on it. :(

It's pretty stupid, because they are infected with bots, but me writing a useful bot (you could @ it and it could generate memes, etc.) was somehow "abusive".

2018-11-02 09:52:12 UTC  

I can already see them turning into another Facebook when they get popular, but I guess that's the lifecycle of tech on the Internet.

2018-11-02 09:53:19 UTC  

we could have prevented this