dev-master
9999999-dev https://github.com/chekalskiy/vk-oauthVK-OAuth is a powerfull PHP library for the VK OAuth API.
MIT
The Requires
- php >=5.3.3
- ext-curl *
api oauth vk vk.com
VK-OAuth is a powerfull PHP library for the VK OAuth API.
A powerfull PHP library for the VK OAuth API (vk.com social network)., (*1)
Supports both usual and secure methods. Fully compatible with VK API version 5.0.
Easy to handle exceptions., (*2)
VK API documentation, (*3)
You can find example code for authentication and API calling in examples/
directory., (*4)
You need to create application and set proper domain name in application settings., (*5)
Then replace {APP_ID}
and {SECRET}
in example files., (*6)
Basically you can use library like that:, (*7)
$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');
, (*8)
You can install vk-oauth
by using Composer, (*9)
"require": { "chekalskiy/vk-oauth": "dev-master" }
or by using simple include
., (*10)
email: ilya@chekalskiy.ru
vk: chekalskiy
twitter: @i_compman, (*11)
VK-OAuth is a powerfull PHP library for the VK OAuth API.
MIT
api oauth vk vk.com