private void AuthorizationForm_Load(object sender, EventArgs e) { GetToken.DocumentCompleted += GetToken_DocumentCompleted; string strRequest = "https://oauth.vk.com/authorize?" + "client_id=" + _clientId + "&display=page" + "&redirect_uri=https://oauth.vk.com/blank.html" + "&scope=" + _scope + "&response_type=token" + "&v=5.103"; GetToken.Navigate(strRequest); }
private void AuthorizationForm_Load(object sender, EventArgs e) { GetToken.DocumentCompleted += GetToken_DocumentCompleted; GetToken.Navigate("https://oauth.vk.com/authorize?client_id=" + 1939911 + "&display=page&redirect_uri=https://oauth.vk.com/blank.html&scope=friends&response_type=token&v=5.52"); }
private void Window_Loaded(object sender, RoutedEventArgs e) { GetToken.Navigate("https://oauth.vk.com/authorize?client_id=5947030&display=page&redirect_uri=https://oauth.vk.com/blank.html&scope=ads&response_type=token&v=5.52"); }
private void Window_Loaded(object sender, RoutedEventArgs e) { GetToken.LoadCompleted += GetToken_DocumentCompleted; GetToken.Navigate("https://oauth.vk.com/authorize?client_id=" + VKAPI.__APPID + "&display=page&redirect_uri=https://oauth.vk.com/blank.html&scope=friends&response_type=token&v=5.52"); }
private void AuthorizationForm_Load(object sender, EventArgs e) { GetToken.LoadCompleted += GetToken_DocumentCompleted; GetToken.Navigate("https://oauth.vk.com/authorize?client_id=" + VkAPI.__APPID + "&redirect_uri=https://api.vk.com/blank.html&display=page&scope=offline&response_type=token&revoke=1"); }