I have facebook login working on my website.
But when users log in, the button just stays the same, i want it to change to the user’s image and name.
Can this be done?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Once the user is logged in just make a request to “/me?fields=name,picture”, using that data modify the dom and replace the button with the name and picture of the user.
Try this query with the Graph Explorer.