2017 © Pedro Peláez
 

library vk-oauth

VK-OAuth is a powerfull PHP library for the VK OAuth API.

image

chekalskiy/vk-oauth

VK-OAuth is a powerfull PHP library for the VK OAuth API.

  • Tuesday, February 24, 2015
  • by chekalskiy
  • Repository
  • 8 Watchers
  • 39 Stars
  • 8,059 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 15 Forks
  • 1 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

VK-OAuth

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)

Example

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)

Installation

You can install vk-oauth by using Composer, (*9)

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

or by using simple include., (*10)

Support

email: ilya@chekalskiy.ru
vk: chekalskiy
twitter: @i_compman, (*11)

The Versions

24/02 2015

dev-master

9999999-dev https://github.com/chekalskiy/vk-oauth

VK-OAuth is a powerfull PHP library for the VK OAuth API.

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-curl *

 

api oauth vk vk.com