Switch to English
sign up
Phone or email
Password
Log in
Sign up
Don't remember me
Forgot your password?
Developers
Products
Documentation
My apps
Support
test it
Products
Widgets for Sites
Communities
Gaming Platform
Realtime events
Stories API
Documentation
Objects List
API versions
Errors
JSON Schema for VK API
Learning API
Getting a Token
Callback API
Payments API
API Requests
Uploading Files
Community events
Bots Long Poll API
Streaming API Documentation
Market API
Publications
API for Chatbots
User Long Poll API
SDK
Java SDK
JavaScript SDK
Flash SDK
Android SDK
iOS SDK
PHP SDK
Mobile SDK
Windows Phone SDK
Support
Feedback
Bug Tracker
Platform status
Roadmap
API methods
Account
Ads
Apps
Board
Database
Docs
Fave
Friends
Gifts
Groups
Leads
Likes
Market
Messages
Newsfeed
Notes
Notifications
Pages
Photos
Places
Polls
Search
Secure
Stats
Status
Storage
Users
Utils
Video
Stories
AppWidgets
Streaming
Orders
Wall
Widgets
addCallbackServer
addLink
approveRequest
ban
create
deleteCallbackServer
deleteLink
disableOnline
edit
editCallbackServer
editLink
editManager
editPlace
enableOnline
get
getBanned
getById
getCallbackConfirmationCode
getCallbackServers
getCallbackSettings
getCatalog
getCatalogInfo
getInvitedUsers
getInvites
getLongPollServer
getLongPollSettings
getMembers
getOnlineStatus
getRequests
getSettings
getTokenPermissions
invite
isMember
join
leave
removeUser
reorderLink
search
setCallbackSettings
setLongPollSettings
unban
Developers
»
API methods
»
Groups
» groups.getLongPollServer
Groups
groups.getLongPollServer
Returns data for
Bots Long Poll API
connection.
This method can be called with a user token received in
Standalone-app
via
Implicit Flow
.
Access rights
required:
groups
.
This method can be called with a
community token
.
Access rights
required:
manage
.
Parameters
group_id
Community ID.
positive number,
required parameter
Result
Returns an object with following fields:
key
(string)
— key;
server
(string)
— server URL;
ts
(integer)
— timestamp.
Errors
Global errors can occur while running. See their descriptions
on this page
.