once I got the URL I manually logged into to get the Token from the browser. Then I copied the Token into my code and tried to use it to create a session using below:- kiteSdk.generateSession(REQ_TOKEN_VALUE, API_KEY); Now I am getting TokenException.
Can you let me know how to resolve this? is the way I got the TokenKey correct?
Use fresh generated request token to retrieve access token ,and save it in your local database.
Use this access token for signing subsequent requests.
This access token is valid for a whole day .
Also,you have to pass api_secret and not api_key with the request token in the generate session function .
a) API secret
b) how to get a freshly generated requested token?
I have only API key and my user ID.