Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

234
Views
Verify the user logged in with Facebook on the server

I have implemented react-facebook-login in React. I am getting the user info in react from Facebook. Now I want to register the user on the server with the user info. But I can't send this data directly from the front to the backend because I won't know if the data is actually from Facebook or the user has played with it. I mean that we can't trust the data like this. How I will know on the server that the data is from Facebook. Is there any event, a callback or trigger on the Facebook side for this whenever a user tries to login with Facebook? Like a url on my server that should be called with the info?

<ReactFacebookLogin
appId="myappid"
fields="name,email,picture"
onClick={reactFBClick}
callback={responseFacebook} />

I also checked it with these two props but nothing seems working.

redirectUri='myurl'
redirectIfAuthenticated={true}

Help will be appreciated greatly. Thanks!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!