![]() ![]() Copy and paste the value of your access token to a safe location, because you’ll need it in the following steps. When you submit the request, your access token will then be displayed in the response. Note: For Mac OS you may need to use single quotes ( ‘ ) instead of double quotes ( ” ). your_redirect_URI is your redirect URI that you previously configured in your app settings.your_authorization_code is the code you previously obtained, in Step 3.your_client_id is your client id obtained when you created the app. ![]() To generate an access token, open up a command prompt window (for Windows OS) or a terminal (for Mac OS) and compose the following curl command: curl -X POST " your_client_id&client_secret= your_client_secret&redirect_uri= your_redirect_URI&code= your_authorization_code&grant_type=authorization_code" ![]() Copy and paste the value of this authorization code to a safe location and proceed with the following step, as this code is only valid for 60 seconds! Copy your authorization code because you’ll need it in the next steps Step 4.) Generate an access token The authorization code will then be displayed in your browser’s address bar. Click Allow Access to grant access: Click Allow Access after submitting the authorization URL
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |