Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Prompt user to authorize when the access token is invalid #5

Description

@raws

When the cached access token is invalid for whatever reason (the user revoked access to the app, for example), we get a response like this:

{"data"=>{"error"=>"The access token provided is invalid.", "request"=>"/3/image.json", "method"=>"POST"}, "success"=>false, "status"=>403}

The script should prompt the user to re-authorize the app if they so desire.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions