-
``` ruby
1.9.3-p327-perf :059 > VkontakteApi.configure{|c| c.app_id = VK_APP_ID; c.app_secret=VK_APP_SECRET; }
=> VkontakteApi
1.9.3-p327-perf :060 > vk = VkontakteApi.authorize(type: :app_server)
O…
-
I've trying to execute VK Api methods without user.
So, I get an access token and all works fine.
But when I try to execute one of the methods(users.get or wall.get), I get an error.
Here is example:
…
-
``` ruby
vk.messages.send(message: 'message')
```
Выдаёт
``` ruby
TypeError: {:message=>"message"} is not a symbol
```
Так понимаю, что проблема в том, что вызывается стандартный метод send, а не м…
-
У ВК немного поменялись правила авторизации, точнее стали проверять наличие redirect_uri в запросе на токен, раньше не просили.
Вот доказательства,
http://vk.com/topic-1_21972169?post=52899
http://x…
-
Привет,
Я использую авторизацию через OmniAuth + Devise, пользователь успешно авторизуется, получая access_token вида:
``` ruby
{
"provider" => "vkontakte",
"uid" => 11111,
…
-
-
после поиска аудиозаписей
VkontakteApi::Client.new(session[:token]).audio.get(uid: 167270710)
возвращает хэш с трэками, только вот проблема, генерит не верные url для скачивания допустим, помогите р…