Anastasiya Deeva > VKontakte-API-0.04 > VKontakte::API::OAuth

Download:
VKontakte-API-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

VKontakte::API::OAuth - Module for login into vkontakte.ru using OAuth 2.0 and send requests

VERSION ^

Version 0.02

SYNOPSIS ^

    Register you application at http://vkontakte.ru/apps.php?act=add and get api_id and api_secret
    Details:
    http://vkontakte.ru/developers.php?o=-1&p=%C0%E2%F2%EE%F0%E8%E7%E0%F6%E8%FF%20%F1%E5%F0%E2%E5%F0%E0%20%EF%F0%E8%EB%EE%E6%E5%ED%E8%FF    
    
    use VKontakte::API::OAuth;
    
    my $vk = VKontakte::API::OAuth->new( $opt->{api_id}, $opt->{api_secret} );
    my $h = $vk->sendRequest( "getProfiles", { uid => 66748 } );
    print Dumper($h);

SUBROUTINES/METHODS ^

new

Two parameters of registered application:

api_id
secret_key

sendRequest

$resp = $vk->sendRequest('getProfiles', {'uids'=>'123123'});

method

Name of methods listed at http://vkontakte.ru/developers.php?o=-1&p=%D0%9E%D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D0%B5+%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D0%BE%D0%B2+API

params

Parameters for method

AUTHOR ^

Anastasiya Deeva, <nastya at creograf.ru>

BUGS ^

Please report any bugs or feature requests to bug-vkontakte-api at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=VKontakte-API. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc VKontakte::API::OAuth

You can also look for information at:

ACKNOWLEDGEMENTS ^

LICENSE AND COPYRIGHT ^

Copyright 2011 Anastasiya Deeva.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: