Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reactjs facebook login popup trigger on load page

const FacebookLoginButton = () => (
<div>
    <FacebookLogin
        appId={FACEBOOK_ID}
        callback={responseFacebook}
        render={renderProps => (
            <button onClick={e => {
                console.trace();
                }
            }>Login via FB</button>
        )}
    />
</div>
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reactjs #facebook #login #popup #trigger #load #page
ADD COMMENT
Topic
Name
2+5 =