Jacob Tuazon Jacob Tuazon - 1 year ago 124
Javascript Question

Getting the user's Facebook profile picture after Facebook authentication using ReactJS?

I am trying to implement a feature on my website where if you were to sign up or in with Facebook it would automatically put a profile picture. But I've been having some problems on implementing it. Here is my code:


I've done a lot of research including the Facebook Graph API documentation. But I never got anything relating to my question, I started to see if anyone asked this question already on this site but I didn't see anything. Well anything relating to uploading a Facebook profile picture in your app with React JS. Any help would be great. Thank You.

Answer Source

All you have to do is this.


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download