Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.