☰
Login
Signup
Home
›
.Net API client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
November 2017
sujith
November 2017
rockiyogi
November 2017
tonystark
In this C# program, how to get access token? it is hard-coded
rockiyogi
November 2017
in
.Net API client
https://github.com/rainmattertech/dotnetkiteconnect/blob/master/KiteConnect Sample/Program.cs
When we run this project in .net
https://github.com/rainmattertech/dotnetkiteconnect
we need to set API key,Secret and token. First two are availble. How to get access token?
Tagged:
C#
.net
accesstoken
tonystark
November 2017
AccessToken
is collected using RequestAccessToken function.
This value is then set to the global variable so that user can reuse it and don't have to do log in again.
Watch this
webinar
to know more about login flow.
rockiyogi
November 2017
Dear Sir,
Getting exception
Unable to parse the response. Use ResponseData property to get original response. <- exception
While calling User user = kite.RequestAccessToken(requestToken, MySecret); this method
I am getting requestToken value from kite.GetLoginURL() metthod call.
Still i am getting exception on excecuting following line - User user = kite.RequestAccessToken(requestToken, MySecret);
sujith
November 2017
The request token is valid for only couple of minutes and can be used only once.
You can run in debug mode and give us logs with exception type and response.
rockiyogi
November 2017
Done.. Now working thanks..!!
This discussion has been closed.
This value is then set to the global variable so that user can reuse it and don't have to do log in again.
Watch this webinar to know more about login flow.
Getting exception
Unable to parse the response. Use ResponseData property to get original response. <- exception
While calling User user = kite.RequestAccessToken(requestToken, MySecret); this method
I am getting requestToken value from kite.GetLoginURL() metthod call.
Still i am getting exception on excecuting following line - User user = kite.RequestAccessToken(requestToken, MySecret);
You can run in debug mode and give us logs with exception type and response.