I narrowed the scope to read:account and read:follows.
Thanks for the feedback @BoF@mstdn.fr and @Gargron.
(The tool has no backend. All secrets and tokens are stored locally. You can copy the code and run it locally if you want to.)
@Luca What kind of data does it use? Could more narrow scopes be used?
I realised the narrow scopes haven't been added to the docs since last release, so I just added them: https://github.com/tootsuite/documentation/blob/master/Using-the-API/OAuth-details.md
@Gargron I reduced it to read:accounts and read:follows.
I wonder if I could get rid of read:accounts as well. I only need it to get the ID of the account to fetch the followings.
@alexhillman That's intentional, because every account would be connected to you. You can remix the code yourself, if you want to add yourself. I am not sure if I will get to add the option.
@catdad Did you remove the trailing backslash of the URL of your instance? (Yes, I should automatically check for it, but didn't get to it yet.)
@Gargron I am intrigued to visualize your followers. But that would probably take days only to collect the data.
@xefir The API only exposes connections between users on the same instance. Therefore it can't create cross-instance networks.
@Luca This looks neat but doesn’t work for me since my instance is a private one with only one user. 😀
@jamie Maybe I get to add some other stats about the accounts one follows to make it more interesting for people on private instances.
@revi Saving as image should be possible, sharing directly not, because there is no backend.
Will take a look later.
@Luca I'm trying to use the tool, but the get requests to my instance return 403 errors. Do you have any suggestions on what to do?
@Luca Sounds lovely, but appears not to be doing anything for me. The bar never starts going green. 8-(
Error with get request script.js:127:7
Error with https://mathstodon.xyz/api/v1/accounts/null/following?limit=80 request script.js:185:7
@RiderOfGiraffes Thinking about it, the error may happen earlier. When retrieveing the accounts you follow.
@alfred I haven't tested it with Pleroma. I assume there is some small diffence in how authorization works.
vis.social is an open social platform for creative people, especially anyone in sciArt, data, visualization, creative coding, and related arts and research. English is the common language of the instance.