Answers for "fb login npm"

1

fb login npm

import React from 'react';
import ReactDOM from 'react-dom';
import FacebookLogin from 'react-facebook-login';
import TiSocialFacebookCircular from 'react-icons/lib/ti/social-facebook-circular';

const responseFacebook = (response) => {  
console.log(response);}
ReactDOM.render(  
	<FacebookLogin 
		appId="1088597931155576" 
		autoLoad={true}   
		fields="name,email,picture"  
		callback={responseFacebook}   
		cssClass="my-facebook-button-class"  
		icon={<TiSocialFacebookCircular />}  />, 
document.getElementById('demo'));
Posted by: Guest on December-16-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language