Connector to VK social network (http://www.vk.com).
PROFILES: ~50 users per 1 minute;
STATUSES: ~3000 statuses per 1 minute (with count_replies=False
and count_likes=False
);
COMMENTS: ~5000 comments per 1 minute.
PROFILES:
type
: person or page instanceTwo types of token-data are available in KeyChain object:
token = 'ACCESS_TOKEN_STRING'
- real access token, that is used to make requests. It's time-limited, so you need to update it every time when using connector.
Raw access data. KeyChain identifier: raw_vk
. Format:
token = {
'app_id' :STRING,
'app_secret':STRING,
'login' :STRING,
'password' :STRING
}
In this form token data could be stored for unlimited time. Before using your token call KeyChain().autocomplete()
or use vk_auth
function from smapy.utilities
to generate valid common access token.
Read how to get access token: VKontakte token