0

i'm trying to work with VK Api. I see methods for getting user ID.

method=getProfiles&uids={viewer_id}&format=json&v=2.0

Can you please show an example of using it? An example sending query to VK Api, and getting result. Thanks!

2 Answers2

0

https://api.vk.com/method/users.get?user_ids=205387401&fields=photo_50,city,verified Check new API link for VK: http://vk.com/dev/users I think it can help you

user2971224
  • 47
  • 1
  • 6
0

You can use info from vk.com/dev

I use JavaScript and jQuery for work.

function sendRequest(method, params, func) {
    $.ajax({
    url: getUrl(method, params),
    method: 'GET',
    dataType: 'JSONP',
    success: func
    }); 
}
Stephen Rauch
  • 47,830
  • 31
  • 106
  • 135
Liar Рonest
  • 661
  • 6
  • 5