Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/canmeepo/react-vk-auth
https://github.com/canmeepo/react-vk-auth
api react vk
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/canmeepo/react-vk-auth
- Owner: canmeepo
- Created: 2018-06-01T15:09:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-07T12:41:29.000Z (almost 6 years ago)
- Last Synced: 2024-04-26T00:25:10.712Z (8 months ago)
- Topics: api, react, vk
- Language: JavaScript
- Size: 41 KB
- Stars: 8
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-vk-auth
> A Component React for vk.com authentication
[![volkswagen status](https://auchenberg.github.io/volkswagen/volkswargen_ci.svg?v=1)](https://github.com/auchenberg/volkswagen)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)## Getting Started
`yarn add react-vk-auth` or `npm i react-vk-auth`
## Basic example
```js
import React, { Component } from 'react';
import VkAuth from 'react-vk-auth';class Registration extends Component {
handleVkResponse = (data) => {
console.warn(data)
}
render() {
return(
)
}
}```
param `apiId` is required, appId is your vk.com dev token.