View blog post | Developers

Bots Long Poll API and PHP SDK

Bringing you twice the happiness today.

Bots Long Poll API

Bots Long Poll API is a new approach to working with events in your community which supports the same rich set of events as Callback API. But unlike Callback API, with Bots Long Poll API outputs are delayed on our end and can be collected using Long Poll queries. Simply put, these are all Callback API events that can be obtained like a usual Long Poll for messages.

Bots Long Poll API can be enabled in community settings. We recommend reading the complete technical guide before you begin.

PHP SDK

Without further ado. The highly-anticipated, long-awaited official library for working with the VK API using yours and our favorite programming language. ;)

This SDK supports authorization via Implicit and Authorization Code Flow schemes, all work requiring API methods, as well as Callback API and Long Poll events. The technical guide is waiting for you here.

Stories API

By continuing to browse, you consent to our use of cookies. You can read our Cookie Policy here.