without user credentials?
Hey nice work on this. I see you added media attachment support now. I will try it out. But can this currently work without requiring username and password of user?
changed title from use without using user credentials? to without user credentials?Toggle commit list
Thank you ;)
No you have to give username and password to authenticate with the API. When you authentify, Mastodon return a bearer token and TootoPHP save it in the JSON file. Without this security token, it's not possible to get Followers, Statuses or post anything.
Ideally, no user credentials are needed in order to use API. Just use the access token after user authorizes app.
Okay, I undestand.
In the doc, only instance does not require authentication : https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#instances
I'll try to use API without user credentials in the next days ;)
I tried a lot of test today.
It's possible to use TootoPHP without credentials, but user have to be logged in when they try to get the access token by the Auth URL. TootoPHP will save token in the JSON file, and this file will be updated if someone else authentify with the