Open vitche opened 9 years ago
Code for getting acccess token should include the following:
// Построение ссылки StringBuilder builder = new StringBuilder("https://oauth.vk.com/token?grant_type=password&scope=notify,friends,photos,audio,video,docs,messages,notifications,offline,wall"); builder.Append("&client_id="); builder.Append(applicationIdentifier); builder.Append("&client_secret="); builder.Append(applicationSecret); builder.Append("&username="); builder.Append(logOn); builder.Append("&password="); builder.Append(password); if (!string.IsNullOrEmpty(idCaptcha) && !string.IsNullOrEmpty(strCaptcha)) { builder.Append("&captcha_sid="); builder.Append(idCaptcha); builder.Append("&captcha_key="); builder.Append(strCaptcha); }
Looks reasonable. Before I removed this code because users almost don't use this feature.
Will put back this code in few days.
Code for getting acccess token should include the following: