Пример #1
0
        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);
        }
Пример #2
0
 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");
 }
Пример #3
0
 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");
 }
Пример #4
0
 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");
 }