New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@palante/facebook-profile

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@palante/facebook-profile

ReactJS component for calling facebook for login and profile information.

latest
Source
npmnpm
Version
1.0.7
Version published
Maintainers
1
Created
Source

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.

Keywords

react

FAQs

Package last updated on 15 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts