VKontakte::API::OAuth - Module for login into vkontakte.ru using OAuth 2.0 and send requests
Version 0.02
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);
Two parameters of registered application:
$resp = $vk->sendRequest('getProfiles', {'uids'=>'123123'});
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
Parameters for method
Anastasiya Deeva, <nastya at creograf.ru>
<nastya at creograf.ru>
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.
bug-vkontakte-api at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc VKontakte::API::OAuth
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=VKontakte-API
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/VKontakte-API
CPAN Ratings
http://cpanratings.perl.org/d/VKontakte-API
Search CPAN
http://search.cpan.org/dist/VKontakte-API/
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.
To install VKontakte::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VKontakte::API
CPAN shell
perl -MCPAN -e shell install VKontakte::API
For more information on module installation, please visit the detailed CPAN module installation guide.