Ruby script utilities for https://vk.com social network.
Scripts must be launched manually at your terminal.
- PhotoSearch - search photos in albums by author id.
- PhotoReorder - sort photos by upload date.
- SearchByDate - returns photos uploaded in a specified date.
Can search photos in specified album or albums.
Usage:
$ ruby PhotoSearch.rb <autor_id> <owner_id> <album_id>
or
$ ruby PhotoSearch.rb <autor_id> <owner_id> {album_id,albom_id...}
Search results will be shown in Search result <autor_id>.txt file.
Searching specified album and returns links to photos uploaded in a specified date
Usage:
$ ruby SearchByDate.rb <owner_id> <dd.mm.yyyy> <album_id>
Requesting vk to reorder photos in specified album.
Note: you need to manually receive access token by any possible authorization methods. Then manually insert it in to the code.
Usage:
$ ruby PhotoReorder.rb <owner_id> <album_id> <asc or des>