About the Request Token

krishna1mr_gmail_com

About how to get request token using mySecret ? i m new to connect with kite API

private static void initSession()
{
Console.WriteLine("Goto " + kite.GetLoginURL());
Console.WriteLine("Enter request token: ");
string requestToken = Convert.ToString(Guid.NewGuid());
User user = kite.GenerateSession(requestToken, MySecret);

Console.WriteLine(Utils.JsonSerialize(user));

MyAccessToken = user.AccessToken;
MyPublicToken = user.PublicToken;
}
Tagged:
Sign In or Register to comment.