@palante/facebook-profile

1.0.7 • Public • Published

Palante Facebook Profile

This manages you login session with facebook in the app with a JWT token that gets stored in local storage.

Installation

npm i @palante/facebook-profile --save

Configuration Sample

export default {
    tokenName: 'palante-token',
    tokenService: 'http://localhost:8080/tokens',
    apiKey: 'yourAppId'
}

Instantiate with config

import FacbookProfileConstructor from '@palante/facebook-profile';

const FacebookProfile = FacbookProfileConstructor(config);

Use

Use in a react-bootstrap nav.

Props

  • apiKey
    • The facebook apiId
  • tokenService
    • Inject TokenService supplied in the library or one with same api.

Readme

Keywords

Package Sidebar

Install

npm i @palante/facebook-profile

Weekly Downloads

0

Version

1.0.7

License

ISC

Last publish

Collaborators

  • blown302