1.0.7 • Published 8 years ago

@palante/facebook-profile v1.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
8 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

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago