iiispikeriii / soc-api
API social resources
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/iiispikeriii/soc-api
Requires
- php: >=5.3.0
- php-curl-class/php-curl-class: ~2.1
This package is auto-updated.
Last update: 2025-09-26 20:22:19 UTC
README
API social resources
Used API: VK, GOOGLE, INSTAGRAM, FLICKR
VK
if auth false
$vk = new Vk(); $data = $vk->run('photos.search',array('q' => 'cats', 'count' => 5));
if auth true
$vk = new Vk( array( 'redirect_url' => 'XXXXXXXXXXXX', 'app_id' => 'XXXXXX', 'secret_key' => 'XXXXXXXXXXXXXXXXX', ) ); $data = $vk->run('audio.getLyrics',array('lyrics_id' => '2428970'), true);
$google = new Google();
web, images
$data = $google->run('web',array('q' => 'Пингвин'));