curl https://graph.mapillary.com/token
-H “Content-Type: application/json”
-H “Authorization: OAuth CLIENT_SECRET” \ from dev console
-d’
{
“grant_type”: “authorization_code”,
“code”: “LONG_AUTHORIZATION_CODE”, \from url redirects
“client_id”: 1234 \ from dev console
}
Mapillary doesnt have actual support of any kind?
There’s no need to go through the authentication flow if you want to access the Mapillary API. You can simply use the “Client Token” from the app you create in Mapillary and use it as the access_token parameter when making API requests.
If you are having difficulties to properly format cli parameters and invoke curl you can also get your personal user OAuth access token by:
Clear the mapillary.com cookie in your browser or log out from Mapillary
Open the developer tools in your browser
Log in to https://www.mapillary.com/app
Search the “Network log” for the POST request to https://graph.mapillary.com/login?access_token=MLY|4223665974375089|d62822dd792b6a823d0794ef26450398
Examine the response of 4. Your OAuth token should be in
{"access_token":"MLY…","user_id":"your user id"}
Note that this OAuth token is tied to the Mapillary web app client (MLY|4223665974375089|d62822dd792b6a823d0794ef26450398) only and it is going to become invalid once you log out or in again.