moved RoadMap to RoadMap.md and improved Auth example formatting

This commit is contained in:
Dave Lane 2023-12-18 23:04:05 +13:00
parent 6f0267713d
commit 2869946053
3 changed files with 17 additions and 5 deletions

View file

@ -12,8 +12,15 @@ ref: https://docs.joinmastodon.org/client/token/#app
### Step 1 - Get Client info
sent:
`curl -X POST -F 'client_name=Mastodon Map' -F 'redirect_uris=urn:ietf:wg:oauth:2.0:oob' -F 'scopes=read write push' -F 'website=https://mastomap.magnificent.nz' https://mastodon.nzoss.nz/api/v1/apps`
sent:
```
curl -X POST \
-F 'client_name=Mastodon Map' \
-F 'redirect_uris=urn:ietf:wg:oauth:2.0:oob' \
-F 'scopes=read write push' \
-F 'website=https://mastomap.magnificent.nz' \
https://mastodon.nzoss.nz/api/v1/apps`
```
response (json):
```
@ -49,7 +56,7 @@ response (json):
}
```
### Step 3 - Verify Auth Token
### Step 3 - Verify Auth Token
sent:
```
@ -77,4 +84,3 @@ curl \
```
and see MastoFollowers.json for the first 6 results (see limit=6 above).

View file

@ -1,3 +1,9 @@
# mastodon-userstats
This will be a service that watches a mastodon user (or users) and records, over time, changes in their followers (who's (un)followed them) over time. Over time additional metrics will be included, like that ability to see posts made around times of significant follower changes.
This will be a service that watches a mastodon user (or users) and records, over time, changes in their followers (who's (un)followed them) over time. Over time additional metrics will be included, like that ability to see posts made around times of significant follower changes.
For my plans with this app, see Roadmap.md
For info on authenticating with Mastodon, see AuthNotes.md
For sample Mastodon Follower data, see MastoFollowers.json

View file