1.0.3 • Published 8 years ago

vk-cover-wrapper v1.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

VK Cover Wrapper

Easy way to upload and save cover to your community.

Install

$ npm i vk-cover-wrapper

Usage

const { uploadAndSaveCoverPhoto } = require('vk-cover-wrapper')

uploadAndSaveCoverPhoto(12345678, 'AvgY7aDV00hH7aVGSDJUFI1', './cover.jpg')
  .then((body) => {
    console.log(body)
    // {
    //   response: {
    //     images: [ [Object], [Object], [Object], [Object], [Object] ]
    //   }
    // }
  })

Docs

.uploadAndSaveCoverPhoto(groupId, groupToken, coverPath)

ParameterTypeRequried
groupIdnumber or stringyes
groupTokenstringyes
coverPathstringyes

...

License

MIT.

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago