1.0.7 • Published 10 years ago

@palante/facebook-profile v1.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
10 years ago

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.
1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago