Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to show user profile #120

Closed
ghost opened this issue Jan 31, 2019 · 1 comment
Closed

How to show user profile #120

ghost opened this issue Jan 31, 2019 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Jan 31, 2019

import React, { Component} from 'react';
import { FacebookProvider, Profile } from 'react-facebook';

export default class Example extends Component {
handleChange = (response) => {
console.log(response);
}

render() {
return (


{({ loading, profile }) => (


{profile.picture}
{profile.name}

)}


);
}
}

In this code, how do i pass the link/id of the profile to be shown?

@seeden
Copy link
Collaborator

seeden commented Feb 18, 2019

You can use profile.link if you have access to user's link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant