Questions tagged [vk]

VK is the largest European social network with over a 100 million active users.

VK (Originally VKontakte) is the biggest social network service in Easter Europe and North Asia, it is available in several languages but popular particularly among Russian-speaking users around the world. Like other social networks, VK allows users to message contacts publicly or privately, create groups, public pages and events, share and tag images, audio and video, and play browser-based games. The main difference from Facebook is the ton of illegal content.

As of December 2014, VK has at least 216 million accounts. VK is ranked 22 in Alexa's global Top 500 sites and is the second most visited website in Russia. In January 2014, VK had an average of 65 million daily users.

More info:

305 questions
3
votes
2 answers

Deserialize JSON when a value can be an object or an empty array

I`m working with VK API. Sometimes server can return empty array instead of object, for example: personal: [] //when it is empty or personal: { religion: 'Нет', smoking: 1, alcohol: 4 } //when not empty. I`m deserializing most of json with…
nikita_97_10
  • 335
  • 1
  • 4
  • 11
3
votes
0 answers

TextField like Facebook or VK app

How can I implement growing UITextField or UITextView Like in the Facebook App or VK app with ability to attach image from device? For example,
Artem Novichkov
  • 2,356
  • 2
  • 24
  • 34
3
votes
1 answer

How to get data from the address bar on python?

How to get data from the address bar on python? There is the code: url = 'http://api.vkontakte.ru/oauth/authorize?client_id={id}&scope=friends&redirect_uri=' \ …
Aleks_RT
  • 33
  • 3
3
votes
0 answers

OAuth2 mixed server and mobile client authorizaiton workflow (vk.com)

I am working on an application that consists of server and mobile components. The user can login into the application using one of its social network accounts (vk.com, google+, facebook and twitter). For now I am going to use OAuth2 authentication.…
Dmitrii
  • 321
  • 6
  • 17
3
votes
0 answers

Getting vk.com embed code automatically

I want to automatically get vk.com embed code. I've already figured out how to get part of it http://vk.com/video_ext.php?oid=3145131&id=159485516&hash=d821df23b7dc0b54&hd=1 I've got the oid and id from the page source but the hash is being…
user2327579
  • 449
  • 9
  • 24
3
votes
2 answers

VK.API: Captcha needed error

Are there any vkontakte api developers? I need your help! I have an Yii application, running by cron (every 10 minutes) on dedicated IP. It makes about 2.8 queries per second, but the "Captcha needed" error is still occurs... Here is some info about…
Alex Skutin
  • 75
  • 1
  • 6
3
votes
2 answers

Why is the auth_key parameter empty?

I've created a flex-based application and uploaded it to vkontakte. For some reason the auth-key parameter (at the flash vars) is empty, how come? Here is a link to the application. EDIT: Here is my application tag inside the site:
Eran Betzalel
  • 4,105
  • 3
  • 38
  • 66
3
votes
1 answer

Trying to get profile info of the user I get the Error: Captcha is needed (VK Android SDK)

I use VK Android SDK (com.perm.kate.api) https://bitbucket.org/ruX/android-vk-sdk/overview The last line of the code i provide below one day began returning KException. From the documentation: If some sort of action is completed too often, then the…
Alexey
  • 7,127
  • 9
  • 57
  • 94
2
votes
2 answers

spring-social-vkontakte problems with authorizationCode

I try to develop an application with connection to social set vkontakte. To do this I use spring-social-vkontakte module of spring-social from https:// github.com/vkolodrevskiy/spring-social-vkontakte as this resources is mentioned in official site…
Marian
  • 387
  • 3
  • 17
2
votes
0 answers

VK-Api keyboard not working whatever i do Python

So i tried to make keyboard for quite some time but it don't work main.py from flask import Flask, request, json from settings import * import messageHandler app = Flask(__name__) #Проверка перезагрузки сайта @app.route('/') def hello_world(): …
2
votes
0 answers

how to return 200OK before the function is completed

I write a bot for Vkontakte on Django(2.2.4), with the vk_api library Some of the functions are quite long (performed in 5-7 seconds). But Vkontakte requires the server to respond no longer than 3 seconds. If the response is delayed, the request is…
miriskrit
  • 69
  • 5
2
votes
1 answer

How can I solve the problem with forwarding messages?

I'm created a chat-bot using 'botact' library, but when I'm trying to verificate my bot on vk-community API working page I receive an error in 'Windows PowerShell' (Here I started the server for bot): TypeError: Cannot read property 'fwd_messages'…
iglebov
  • 25
  • 6
2
votes
2 answers

Browse pages while music is playing

There's a new feature on vkontakte.ru (I bet facebook has the same, not sure though). You browse pages while player keeps playing music at the background without interruption. How is this possible?
Dziamid
  • 11,225
  • 12
  • 69
  • 104
2
votes
1 answer

Post Large File Using requests_toolbelt to vk

I am new to python, I wrote simple script for uploading video from url to vk, I test this script with small files it's working, but for large files I get run out of memory, I read that using 'requests_toolbelt' it's possible to post large file, How…
Bardulf
  • 57
  • 10
2
votes
1 answer

How to use vkapi library PHP

Already installed library using composer Я уже установил библиотеку через composer composer require vkcom/vk-php-sdk But cant initializate it by однако не выходит её инициализировать через $vk = new VKApiClient(); Recieve error Получаю…
A Milky
  • 23
  • 4
1 2
3
20 21