sdk.rewardStatus ✎ Edit on GitHub

Game raffle winners selection

event true String

Game event name

More information: sdk.setStatus

fields true UserInfoField

User fields to be returned in a response


Session is prohibited

Required permissions


Method returns a list of users that won a prize in a raffle.

OKs are charged immediately after method was called. Also every winner will be notified about his prize via portal notification.


To hold such an event you must:

  • set up game event. For more info: sdk.setStatus;
  • approve raffle prize size and winners amount with OK team;
  • after event is over: call a method with correct event name specified.

Possible errors

If something went wrong an error will be return in a result field of a response:

  • Not configured - raffle is not set for specified event;
  • Empty winners - event has no participants.


{ "result": "String", "user": [ { "accessible": "Boolean", "age": "Integer", "allow_add_to_friend": "Boolean", "allows_anonym_access": "Boolean", "allows_messaging_only_for_friends": "Boolean", "birthday": "String", "birthdaySet": "Boolean", "blocked": "Boolean", "blocks": "Boolean", "business": "Boolean", "can_use_referral_invite": "Boolean", "can_vcall": "Boolean", "can_vmail": "Boolean", "capabilities": "String", "city_of_birth": "String", "close_comments_allowed": "Boolean", "common_friends_count": "Integer", "current_location": { "altitude": "Float", "cellId": "Integer", "city": "String", "country": "String", "ipAddress": "String", "latitude": "Float", "longitude": "Float" }, "current_status": "String", "current_status_date": "Date", "current_status_date_ms": "Long", "current_status_id": "String", "current_status_mood": { "animation_properties": { "duration": "int", "fps": "int", "frameRepeats": { "lang.Integer": "Integer" }, "framesCount": "int", "replayDelay": "int" }, "background_properties": { "gradientAngle": "int", "primaryColor": "String", "secondaryColor": "String" }, "description": "String", "id": "String", "isAvailable": "Boolean", "is_animated": "Boolean", "is_vip": "Boolean", "pic128x128": "String", "pic16x16": "String", "pic32x32": "String", "pic64x64": "String", "pic_base": "String", "presentation": { "background": { "type": [ "IMAGE", "LINEAR_GRADIENT", "SIMPLE", "SIMPLE_IMAGE" ] }, "backgrounds": [ { "type": [ "IMAGE", "LINEAR_GRADIENT", "SIMPLE", "SIMPLE_IMAGE" ] } ], "color": "String", "font": { "size": "Integer", "size_instruction": { "type": [ "CL" ] } }, "text_align": [ "CENTER", "JUSTIFY", "LEFT", "RIGHT" ] }, "ref": "String", "sprite128": "String", "sprite64": "String", "sprite_base": "String", "token": "String" }, "current_status_track_id": "String", "email": "String", "executor": "Boolean", "feed_subscription": "Boolean", "first_name": "String", "followers_count": "Integer", "forbids_mentioning": "Boolean", "friend": "Boolean", "friend_invitation": "Boolean", "friends_count": "Integer", "gender": "String", "has_daily_photo": "Boolean", "has_email": "Boolean", "has_extended_stats": "Boolean", "has_groups_to_comment": "Boolean", "has_phone": "Boolean", "has_products": "Boolean", "has_service_invisible": "Boolean", "has_unseen_daily_photo": "Boolean", "invited_by_friend": "Boolean", "last_name": "String", "last_online": "String", "last_online_ms": "Long", "locale": "String", "location": { "city": "String", "country": "String", "countryCode": "String", "countryName": "String" }, "location_of_birth": { "city": "String", "country": "String", "countryCode": "String", "countryName": "String" }, "login": "String", "mobile": "String", "modified_ms": "Long", "name": "String", "notifications_subscription": "Boolean", "online": "String", "photo_id": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic180min": "String", "pic190x190": "String", "pic224x224": "String", "pic240min": "String", "pic288x288": "String", "pic320min": "String", "pic50x50": "String", "pic600x600": "String", "pic640x480": "String", "pic_1": "String", "pic_2": "String", "pic_3": "String", "pic_4": "String", "pic_5": "String", "pic_base": "String", "pic_full": "String", "pic_max": "String", "possible_relations": [ [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ] ], "premium": "Boolean", "presents": [ { "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_PRODUCT", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "OFFER", "PRESENT", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_PRODUCT", "USER_STATUS" ] }, "holiday_id": "Long", "id": "String", "isAccepted": "Boolean", "isWrapped": "Boolean", "is_cancelable": "Boolean", "is_private": "Boolean", "is_secret": "Boolean", "like_summary": { "count": "Integer", "friend_ids": [ "String" ], "friends": [ { "reaction": "String", "user": "data.UserInfoBean" } ], "group_count": "Integer", "group_like": "Boolean", "group_like_possible": "Boolean", "group_unlike_possible": "Boolean", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "liker_refs": [ "String" ], "reactions": [ { "count": "int", "reaction": "String" } ], "self": "Boolean", "self_reaction": "String", "unlike_possible": "Boolean" }, "message": "String", "music_track_id": "String", "music_track_refs": [ "String" ], "overlayX": "Byte", "overlayY": "Byte", "presentAccTime": "Long", "presentExpTime": "Long", "presentRegTime": "Long", "presentTime": "Long", "present_type_ref": "String", "price": "Integer", "price_c": "Integer", "receiver_ref": "String", "receiver_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "ref": "String", "sender_ref": "String", "sender_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "tariff": "Integer", "text": "String" } ], "private": "Boolean", "profile_buttons": [ { "action": [ "CALL_TO_OK", "GROUP_MESSAGES", "LINK", "MESSAGE", "NONE", "PHONE", "PRESENT", "TRANSFER" ], "button_key": "String", "button_title": "String", "param": "String" } ], "profile_cover": { "cover_photo": [ { "album_id": "String", "attrs": { "flags": "String" }, "author_name": "String", "author_ref": "String", "author_type": [ "APP", "COMMENT", "DAILY_MEDIA", "GROUP", "GROUP_PHOTO", "GROUP_PHOTO_ALBUM", "HAPPENING", "HAPPENING_PHOTO", "LINK", "MALL_REVIEW", "MEDIA_TOPIC", "MOOD", "MUSIC_ALBUM", "MUSIC_ALBUM_BEST_MATCH", "MUSIC_ARTIST", "MUSIC_ARTIST_BEST_MATCH", "MUSIC_PLAYLIST", "MUSIC_TRACK", "PCHELA_EXECUTOR", "PLACE", "POLL", "PRESENT", "PRESENT_TYPE", "SHARE", "SHORT_PRODUCT", "SHOWCASE_SECTION_ITEM", "STATUS", "STICKER", "THEME", "USER", "USER_PHOTO", "USER_PHOTO_ALBUM", "VIDEO", "VIDEO_CHANNEL" ], "competition_photo_link": "String", "competition_place": "Integer", "context": [ "MEDIATOPIC" ], "copyable": "Boolean", "created_ms": "Long", "crop_height": "Short", "crop_size": "Short", "crop_width": "Short", "crop_x": "Short", "crop_y": "Short", "deleted": "Boolean", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_PRODUCT", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "OFFER", "PRESENT", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_PRODUCT", "USER_STATUS" ] }, "group_id": "String", "has_frame": "Boolean", "id": "String", "like_summary": { "count": "Integer", "friend_ids": [ "String" ], "friends": [ { "reaction": "String", "user": { "accessible": "Boolean", "age": "Integer", "allow_add_to_friend": "Boolean", "allows_anonym_access": "Boolean", "allows_messaging_only_for_friends": "Boolean", "birthday": "String", "birthdaySet": "Boolean", "blocked": "Boolean", "blocks": "Boolean", "business": "Boolean", "can_use_referral_invite": "Boolean", "can_vcall": "Boolean", "can_vmail": "Boolean", "capabilities": "String", "city_of_birth": "String", "close_comments_allowed": "Boolean", "common_friends_count": "Integer", "current_location": { "altitude": "Float", "cellId": "Integer", "city": "String", "country": "String", "ipAddress": "String", "latitude": "Float", "longitude": "Float" }, "current_status": "String", "current_status_date": "Date", "current_status_date_ms": "Long", "current_status_id": "String", "current_status_mood": { "animation_properties": { "duration": "int", "fps": "int", "frameRepeats": { "lang.Integer": "Integer" }, "framesCount": "int", "replayDelay": "int" }, "background_properties": { "gradientAngle": "int", "primaryColor": "String", "secondaryColor": "String" }, "description": "String", "id": "String", "isAvailable": "Boolean", "is_animated": "Boolean", "is_vip": "Boolean", "pic128x128": "String", "pic16x16": "String", "pic32x32": "String", "pic64x64": "String", "pic_base": "String", "presentation": { "background": { "type": [ "IMAGE", "LINEAR_GRADIENT", "SIMPLE", "SIMPLE_IMAGE" ] }, "backgrounds": [ { "type": [ "IMAGE", "LINEAR_GRADIENT", "SIMPLE", "SIMPLE_IMAGE" ] } ], "color": "String", "font": { "size": "Integer", "size_instruction": { "type": [ "CL" ] } }, "text_align": [ "CENTER", "JUSTIFY", "LEFT", "RIGHT" ] }, "ref": "String", "sprite128": "String", "sprite64": "String", "sprite_base": "String", "token": "String" }, "current_status_track_id": "String", "email": "String", "executor": "Boolean", "feed_subscription": "Boolean", "first_name": "String", "followers_count": "Integer", "forbids_mentioning": "Boolean", "friend": "Boolean", "friend_invitation": "Boolean", "friends_count": "Integer", "gender": "String", "has_daily_photo": "Boolean", "has_email": "Boolean", "has_extended_stats": "Boolean", "has_groups_to_comment": "Boolean", "has_phone": "Boolean", "has_products": "Boolean", "has_service_invisible": "Boolean", "has_unseen_daily_photo": "Boolean", "invited_by_friend": "Boolean", "last_name": "String", "last_online": "String", "last_online_ms": "Long", "locale": "String", "location": { "city": "String", "country": "String", "countryCode": "String", "countryName": "String" }, "location_of_birth": { "city": "String", "country": "String", "countryCode": "String", "countryName": "String" }, "login": "String", "mobile": "String", "modified_ms": "Long", "name": "String", "notifications_subscription": "Boolean", "online": "String", "photo_id": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic180min": "String", "pic190x190": "String", "pic224x224": "String", "pic240min": "String", "pic288x288": "String", "pic320min": "String", "pic50x50": "String", "pic600x600": "String", "pic640x480": "String", "pic_1": "String", "pic_2": "String", "pic_3": "String", "pic_4": "String", "pic_5": "String", "pic_base": "String", "pic_full": "String", "pic_max": "String", "possible_relations": [ [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ] ], "premium": "Boolean", "presents": [ { "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_PRODUCT", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "OFFER", "PRESENT", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_PRODUCT", "USER_STATUS" ] }, "holiday_id": "Long", "id": "String", "isAccepted": "Boolean", "isWrapped": "Boolean", "is_cancelable": "Boolean", "is_private": "Boolean", "is_secret": "Boolean", "like_summary": "like.LikeSummaryBean", "message": "String", "music_track_id": "String", "music_track_refs": [ "String" ], "overlayX": "Byte", "overlayY": "Byte", "presentAccTime": "Long", "presentExpTime": "Long", "presentRegTime": "Long", "presentTime": "Long", "present_type_ref": "String", "price": "Integer", "price_c": "Integer", "receiver_ref": "String", "receiver_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "ref": "String", "sender_ref": "String", "sender_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "tariff": "Integer", "text": "String" } ], "private": "Boolean", "profile_buttons": [ { "action": [ "CALL_TO_OK", "GROUP_MESSAGES", "LINK", "MESSAGE", "NONE", "PHONE", "PRESENT", "TRANSFER" ], "button_key": "String", "button_title": "String", "param": "String" } ], "profile_cover": { "cover_photo": "data.PhotoBeanBase", "default_cover": { "alpha": "Float", "expanded_alpha": "Float", "offset_x": "Float", "offset_y": "Float", "pic_base": "String", "pic_max": "String" } }, "ref": "String", "registered_date": "Date", "registered_date_ms": "Long", "relations": [ { "subtype_id": [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ], "type_id": [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ], "uids": [ "String" ] } ], "relationship": { "first_name": "String", "last_name": "String", "message": "String", "message_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "status": [ "DIVORCED", "LOVE", "OPEN", "SPOUSE" ], "uid": "String" }, "shortname": "String", "show_lock": "Boolean", "status": { "iconText": "String", "iconUrl": "String", "link": "String", "text": "String" }, "uid": "String", "url_chat": "String", "url_chat_mobile": "String", "url_profile": "String", "url_profile_mobile": "String", "vip": "Boolean" } } ], "group_count": "Integer", "group_like": "Boolean", "group_like_possible": "Boolean", "group_unlike_possible": "Boolean", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "liker_refs": [ "String" ], "reactions": [ { "count": "int", "reaction": "String" } ], "self": "Boolean", "self_reaction": "String", "unlike_possible": "Boolean" }, "moderation_status": "String", "obs_source_id": "Long", "offset_x": "Float", "offset_y": "Float", "owner_ref": "String", "pic1024max": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic160x120": "String", "pic176x176": "String", "pic180min": "String", "pic190x190": "String", "pic240min": "String", "pic320min": "String", "pic50x50": "String", "pic640x480": "String", "pic_base": "String", "pic_max": "String", "picgif": "String", "picmp4": "String", "picwebm": "String", "pin_users_refs": [ "String" ], "preview": "String", "ref": "String", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_available_for_chats": "Boolean", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "rotations_angle": "Byte", "send_as_gift_available": "Boolean", "standard_height": "Short", "standard_width": "Short", "tag_count": "Integer", "tag_count_unconfirmed": "Integer", "tags": [ { "capabilities": "String", "id": "String", "index": "String", "photo_id": "String", "status": "String", "text": "String", "user_id": "String", "user_ref": "String", "x": "Short", "y": "Short" } ], "text": "String", "text_detected": "boolean", "text_tokens": [ [ "GroupMentionTokenBean", "HashtagTokenBean", "LinkTokenBean", "OkSmileTokenBean", "PureTextTokenBean", "TimestampTokenBean", "UserMentionTokenBean", "UserSmileTokenBean" ] ], "topic_id": "String", "type": "group", "user_id": "String", "vote_summary": { "count": "Integer", "self": "Boolean" }, "widgets": [ { "reaction_id": "String", "rotation": "short", "size": "float", "type": "byte", "x": "float", "y": "float" } ] }, { "album_id": "String", "attrs": { "flags": "String" }, "author_ref": "String", "context": [ "MEDIATOPIC" ], "copyable": "Boolean", "created_ms": "Long", "crop_height": "Short", "crop_size": "Short", "crop_width": "Short", "crop_x": "Short", "crop_y": "Short", "deleted": "Boolean", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_PRODUCT", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "OFFER", "PRESENT", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_PRODUCT", "USER_STATUS" ] }, "has_frame": "Boolean", "id": "String", "like_summary": { "count": "Integer", "friend_ids": [ "String" ], "friends": [ { "reaction": "String", "user": { "accessible": "Boolean", "age": "Integer", "allow_add_to_friend": "Boolean", "allows_anonym_access": "Boolean", "allows_messaging_only_for_friends": "Boolean", "birthday": "String", "birthdaySet": "Boolean", "blocked": "Boolean", "blocks": "Boolean", "business": "Boolean", "can_use_referral_invite": "Boolean", "can_vcall": "Boolean", "can_vmail": "Boolean", "capabilities": "String", "city_of_birth": "String", "close_comments_allowed": "Boolean", "common_friends_count": "Integer", "current_location": { "altitude": "Float", "cellId": "Integer", "city": "String", "country": "String", "ipAddress": "String", "latitude": "Float", "longitude": "Float" }, "current_status": "String", "current_status_date": "Date", "current_status_date_ms": "Long", "current_status_id": "String", "current_status_mood": { "animation_properties": { "duration": "int", "fps": "int", "frameRepeats": { "lang.Integer": "Integer" }, "framesCount": "int", "replayDelay": "int" }, "background_properties": { "gradientAngle": "int", "primaryColor": "String", "secondaryColor": "String" }, "description": "String", "id": "String", "isAvailable": "Boolean", "is_animated": "Boolean", "is_vip": "Boolean", "pic128x128": "String", "pic16x16": "String", "pic32x32": "String", "pic64x64": "String", "pic_base": "String", "presentation": { "background": { "type": [ "IMAGE", "LINEAR_GRADIENT", "SIMPLE", "SIMPLE_IMAGE" ] }, "backgrounds": [ { "type": [ "IMAGE", "LINEAR_GRADIENT", "SIMPLE", "SIMPLE_IMAGE" ] } ], "color": "String", "font": { "size": "Integer", "size_instruction": { "type": [ "CL" ] } }, "text_align": [ "CENTER", "JUSTIFY", "LEFT", "RIGHT" ] }, "ref": "String", "sprite128": "String", "sprite64": "String", "sprite_base": "String", "token": "String" }, "current_status_track_id": "String", "email": "String", "executor": "Boolean", "feed_subscription": "Boolean", "first_name": "String", "followers_count": "Integer", "forbids_mentioning": "Boolean", "friend": "Boolean", "friend_invitation": "Boolean", "friends_count": "Integer", "gender": "String", "has_daily_photo": "Boolean", "has_email": "Boolean", "has_extended_stats": "Boolean", "has_groups_to_comment": "Boolean", "has_phone": "Boolean", "has_products": "Boolean", "has_service_invisible": "Boolean", "has_unseen_daily_photo": "Boolean", "invited_by_friend": "Boolean", "last_name": "String", "last_online": "String", "last_online_ms": "Long", "locale": "String", "location": { "city": "String", "country": "String", "countryCode": "String", "countryName": "String" }, "location_of_birth": { "city": "String", "country": "String", "countryCode": "String", "countryName": "String" }, "login": "String", "mobile": "String", "modified_ms": "Long", "name": "String", "notifications_subscription": "Boolean", "online": "String", "photo_id": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic180min": "String", "pic190x190": "String", "pic224x224": "String", "pic240min": "String", "pic288x288": "String", "pic320min": "String", "pic50x50": "String", "pic600x600": "String", "pic640x480": "String", "pic_1": "String", "pic_2": "String", "pic_3": "String", "pic_4": "String", "pic_5": "String", "pic_base": "String", "pic_full": "String", "pic_max": "String", "possible_relations": [ [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ] ], "premium": "Boolean", "presents": [ { "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_PRODUCT", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "OFFER", "PRESENT", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_PRODUCT", "USER_STATUS" ] }, "holiday_id": "Long", "id": "String", "isAccepted": "Boolean", "isWrapped": "Boolean", "is_cancelable": "Boolean", "is_private": "Boolean", "is_secret": "Boolean", "like_summary": "like.LikeSummaryBean", "message": "String", "music_track_id": "String", "music_track_refs": [ "String" ], "overlayX": "Byte", "overlayY": "Byte", "presentAccTime": "Long", "presentExpTime": "Long", "presentRegTime": "Long", "presentTime": "Long", "present_type_ref": "String", "price": "Integer", "price_c": "Integer", "receiver_ref": "String", "receiver_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "ref": "String", "sender_ref": "String", "sender_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "tariff": "Integer", "text": "String" } ], "private": "Boolean", "profile_buttons": [ { "action": [ "CALL_TO_OK", "GROUP_MESSAGES", "LINK", "MESSAGE", "NONE", "PHONE", "PRESENT", "TRANSFER" ], "button_key": "String", "button_title": "String", "param": "String" } ], "profile_cover": { "cover_photo": "data.PhotoBeanBase", "default_cover": { "alpha": "Float", "expanded_alpha": "Float", "offset_x": "Float", "offset_y": "Float", "pic_base": "String", "pic_max": "String" } }, "ref": "String", "registered_date": "Date", "registered_date_ms": "Long", "relations": [ { "subtype_id": [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ], "type_id": [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ], "uids": [ "String" ] } ], "relationship": { "first_name": "String", "last_name": "String", "message": "String", "message_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "status": [ "DIVORCED", "LOVE", "OPEN", "SPOUSE" ], "uid": "String" }, "shortname": "String", "show_lock": "Boolean", "status": { "iconText": "String", "iconUrl": "String", "link": "String", "text": "String" }, "uid": "String", "url_chat": "String", "url_chat_mobile": "String", "url_profile": "String", "url_profile_mobile": "String", "vip": "Boolean" } } ], "group_count": "Integer", "group_like": "Boolean", "group_like_possible": "Boolean", "group_unlike_possible": "Boolean", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "liker_refs": [ "String" ], "reactions": [ { "count": "int", "reaction": "String" } ], "self": "Boolean", "self_reaction": "String", "unlike_possible": "Boolean" }, "moderation_status": "String", "obs_source_id": "Long", "offset_x": "Float", "offset_y": "Float", "owner_ref": "String", "pic1024max": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic160x120": "String", "pic176x176": "String", "pic180min": "String", "pic190x190": "String", "pic240min": "String", "pic320min": "String", "pic50x50": "String", "pic640x480": "String", "pic_base": "String", "pic_max": "String", "picgif": "String", "picmp4": "String", "picwebm": "String", "preview": "String", "ref": "String", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_available_for_chats": "Boolean", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "rotations_angle": "Byte", "send_as_gift_available": "Boolean", "standard_height": "Short", "standard_width": "Short", "text": "String", "text_detected": "boolean", "text_tokens": [ [ "GroupMentionTokenBean", "HashtagTokenBean", "LinkTokenBean", "OkSmileTokenBean", "PureTextTokenBean", "TimestampTokenBean", "UserMentionTokenBean", "UserSmileTokenBean" ] ], "type": "happening", "user_id": "String", "widgets": [ { "reaction_id": "String", "rotation": "short", "size": "float", "type": "byte", "x": "float", "y": "float" } ] }, { "access_policies": [ [ "CLASSMATE", "CLOSE_FRIEND", "COLLEAGUE", "COMPANION_IN_ARMS", "CURSEMATE", "FRIENDS", "LOVE", "PRIVATE", "PUBLIC", "RELATIVE", "SHARED" ] ], "album_id": "String", "attrs": { "flags": "String" }, "author_ref": "String", "blocked": "Boolean", "context": [ "MEDIATOPIC" ], "copyable": "Boolean", "created_ms": "Long", "crop_height": "Short", "crop_size": "Short", "crop_width": "Short", "crop_x": "Short", "crop_y": "Short", "deleted": "Boolean", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_PRODUCT", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "OFFER", "PRESENT", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_PRODUCT", "USER_STATUS" ] }, "has_frame": "Boolean", "id": "String", "like_summary": { "count": "Integer", "friend_ids": [ "String" ], "friends": [ { "reaction": "String", "user": { "accessible": "Boolean", "age": "Integer", "allow_add_to_friend": "Boolean", "allows_anonym_access": "Boolean", "allows_messaging_only_for_friends": "Boolean", "birthday": "String", "birthdaySet": "Boolean", "blocked": "Boolean", "blocks": "Boolean", "business": "Boolean", "can_use_referral_invite": "Boolean", "can_vcall": "Boolean", "can_vmail": "Boolean", "capabilities": "String", "city_of_birth": "String", "close_comments_allowed": "Boolean", "common_friends_count": "Integer", "current_location": { "altitude": "Float", "cellId": "Integer", "city": "String", "country": "String", "ipAddress": "String", "latitude": "Float", "longitude": "Float" }, "current_status": "String", "current_status_date": "Date", "current_status_date_ms": "Long", "current_status_id": "String", "current_status_mood": { "animation_properties": { "duration": "int", "fps": "int", "frameRepeats": { "lang.Integer": "Integer" }, "framesCount": "int", "replayDelay": "int" }, "background_properties": { "gradientAngle": "int", "primaryColor": "String", "secondaryColor": "String" }, "description": "String", "id": "String", "isAvailable": "Boolean", "is_animated": "Boolean", "is_vip": "Boolean", "pic128x128": "String", "pic16x16": "String", "pic32x32": "String", "pic64x64": "String", "pic_base": "String", "presentation": { "background": { "type": [ "IMAGE", "LINEAR_GRADIENT", "SIMPLE", "SIMPLE_IMAGE" ] }, "backgrounds": [ { "type": [ "IMAGE", "LINEAR_GRADIENT", "SIMPLE", "SIMPLE_IMAGE" ] } ], "color": "String", "font": { "size": "Integer", "size_instruction": { "type": [ "CL" ] } }, "text_align": [ "CENTER", "JUSTIFY", "LEFT", "RIGHT" ] }, "ref": "String", "sprite128": "String", "sprite64": "String", "sprite_base": "String", "token": "String" }, "current_status_track_id": "String", "email": "String", "executor": "Boolean", "feed_subscription": "Boolean", "first_name": "String", "followers_count": "Integer", "forbids_mentioning": "Boolean", "friend": "Boolean", "friend_invitation": "Boolean", "friends_count": "Integer", "gender": "String", "has_daily_photo": "Boolean", "has_email": "Boolean", "has_extended_stats": "Boolean", "has_groups_to_comment": "Boolean", "has_phone": "Boolean", "has_products": "Boolean", "has_service_invisible": "Boolean", "has_unseen_daily_photo": "Boolean", "invited_by_friend": "Boolean", "last_name": "String", "last_online": "String", "last_online_ms": "Long", "locale": "String", "location": { "city": "String", "country": "String", "countryCode": "String", "countryName": "String" }, "location_of_birth": { "city": "String", "country": "String", "countryCode": "String", "countryName": "String" }, "login": "String", "mobile": "String", "modified_ms": "Long", "name": "String", "notifications_subscription": "Boolean", "online": "String", "photo_id": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic180min": "String", "pic190x190": "String", "pic224x224": "String", "pic240min": "String", "pic288x288": "String", "pic320min": "String", "pic50x50": "String", "pic600x600": "String", "pic640x480": "String", "pic_1": "String", "pic_2": "String", "pic_3": "String", "pic_4": "String", "pic_5": "String", "pic_base": "String", "pic_full": "String", "pic_max": "String", "possible_relations": [ [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ] ], "premium": "Boolean", "presents": [ { "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_PRODUCT", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "OFFER", "PRESENT", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_PRODUCT", "USER_STATUS" ] }, "holiday_id": "Long", "id": "String", "isAccepted": "Boolean", "isWrapped": "Boolean", "is_cancelable": "Boolean", "is_private": "Boolean", "is_secret": "Boolean", "like_summary": "like.LikeSummaryBean", "message": "String", "music_track_id": "String", "music_track_refs": [ "String" ], "overlayX": "Byte", "overlayY": "Byte", "presentAccTime": "Long", "presentExpTime": "Long", "presentRegTime": "Long", "presentTime": "Long", "present_type_ref": "String", "price": "Integer", "price_c": "Integer", "receiver_ref": "String", "receiver_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "ref": "String", "sender_ref": "String", "sender_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "tariff": "Integer", "text": "String" } ], "private": "Boolean", "profile_buttons": [ { "action": [ "CALL_TO_OK", "GROUP_MESSAGES", "LINK", "MESSAGE", "NONE", "PHONE", "PRESENT", "TRANSFER" ], "button_key": "String", "button_title": "String", "param": "String" } ], "profile_cover": { "cover_photo": "data.PhotoBeanBase", "default_cover": { "alpha": "Float", "expanded_alpha": "Float", "offset_x": "Float", "offset_y": "Float", "pic_base": "String", "pic_max": "String" } }, "ref": "String", "registered_date": "Date", "registered_date_ms": "Long", "relations": [ { "subtype_id": [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ], "type_id": [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ], "uids": [ "String" ] } ], "relationship": { "first_name": "String", "last_name": "String", "message": "String", "message_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "status": [ "DIVORCED", "LOVE", "OPEN", "SPOUSE" ], "uid": "String" }, "shortname": "String", "show_lock": "Boolean", "status": { "iconText": "String", "iconUrl": "String", "link": "String", "text": "String" }, "uid": "String", "url_chat": "String", "url_chat_mobile": "String", "url_profile": "String", "url_profile_mobile": "String", "vip": "Boolean" } } ], "group_count": "Integer", "group_like": "Boolean", "group_like_possible": "Boolean", "group_unlike_possible": "Boolean", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "liker_refs": [ "String" ], "reactions": [ { "count": "int", "reaction": "String" } ], "self": "Boolean", "self_reaction": "String", "unlike_possible": "Boolean" }, "mark_avg": "String", "mark_bonus_count": "Integer", "mark_count": "Integer", "moderation_status": "String", "obs_source_id": "Long", "offset_x": "Float", "offset_y": "Float", "owner_ref": "String", "pic1024max": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic160x120": "String", "pic176x176": "String", "pic180min": "String", "pic190x190": "String", "pic240min": "String", "pic320min": "String", "pic50x50": "String", "pic640x480": "String", "pic_base": "String", "pic_max": "String", "picgif": "String", "picmp4": "String", "picwebm": "String", "preview": "String", "ref": "String", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_available_for_chats": "Boolean", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "rotations_angle": "Byte", "send_as_gift_available": "Boolean", "standard_height": "Short", "standard_width": "Short", "tag_count": "Integer", "tag_count_unconfirmed": "Integer", "tags": [ { "capabilities": "String", "id": "String", "index": "String", "photo_id": "String", "status": "String", "text": "String", "user_id": "String", "user_ref": "String", "x": "Short", "y": "Short" } ], "text": "String", "text_detected": "boolean", "text_tokens": [ [ "GroupMentionTokenBean", "HashtagTokenBean", "LinkTokenBean", "OkSmileTokenBean", "PureTextTokenBean", "TimestampTokenBean", "UserMentionTokenBean", "UserSmileTokenBean" ] ], "type": "user", "unconfirmed_pin_users_refs": [ "String" ], "user_id": "String", "viewer_mark": "String", "widgets": [ { "reaction_id": "String", "rotation": "short", "size": "float", "type": "byte", "x": "float", "y": "float" } ] } ], "default_cover": { "alpha": "Float", "expanded_alpha": "Float", "offset_x": "Float", "offset_y": "Float", "pic_base": "String", "pic_max": "String" } }, "ref": "String", "registered_date": "Date", "registered_date_ms": "Long", "relations": [ { "subtype_id": [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ], "type_id": [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ], "uids": [ "String" ] } ], "relationship": { "first_name": "String", "last_name": "String", "message": "String", "message_tokens": [ { "action": "String", "behavior": "String", "link": "String", "ref": "String", "text": "String" } ], "status": [ "DIVORCED", "LOVE", "OPEN", "SPOUSE" ], "uid": "String" }, "shortname": "String", "show_lock": "Boolean", "status": { "iconText": "String", "iconUrl": "String", "link": "String", "text": "String" }, "uid": "String", "url_chat": "String", "url_chat_mobile": "String", "url_profile": "String", "url_profile_mobile": "String", "vip": "Boolean" } ] }

Application paramters

User session data


List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig