I followed the procedure to get access request using cURL. I got request token after that when i tried for access token i got the error {"status": "error", "message": "Invalid session credentials", "error_type": "TokenException"}
Iam using cURL . I got status code 302 after login . Now next i have to input request token. Where to get this request token. My redirect url is HTTPS://127.0.0.1. My question may be basic but I don't know how to see my request token.
Did you create checksum (SHA-256 of api_key + request_token + api_secret) as mentioned here?
You need to send api_key, request_token and checksum in body of post request. Are you doing the same?
-d "api_key="
-d "request_token="
-d "checksum=
I posted my key, token then collected sha 256 from online sha calculator of( api_key + request_token + api_secret)
PS: close inverted coma.
You just append strings, you don't add any new characters.
I got status code 302 after login .
Now next i have to input request token. Where to get this request token. My redirect url is HTTPS://127.0.0.1.
My question may be basic but I don't know how to see my request token.
It's a browser redirect. You can't do it using cURL. I would suggest you not automate login.