Powerfull PHP wrapper for VK API (vk.com)
PHP
Failed to load latest commit information.
che
examples
LICENSE
README.md
composer.json composer fix Aug 29, 2013

README.md

VK-OAuth

A powerfull PHP library for the VK OAuth API (vk.com social network).

Supports both usual and secure methods. Fully compatible with VK API version 5.0.
Easy to handle exceptions.

VK API documentation

Example

You can find example code for authentication and API calling in examples/ directory.

You need to create application and set proper domain name in application settings.

Then replace {APP_ID} and {SECRET} in example files.

Basically you can use library like that:

$wall = $vk->wall_get(array(
    'count' => 10,
    'filter' => 'owner'
));

If you want to get endless token use the offline scope parameter:
$vk->getAuthenticationUrl($currentUrl, 'wall,offline');

Installation

You can install vk-oauth by using Composer

"require": {
    "chekalskiy/vk-oauth": "dev-master"
}

or by using simple include.

Support

email: ilya@chekalskiy.ru
vk: chekalskiy
twitter: @i_compman