0

When I try to login using facebook in last step it return empty data my first stip is using these link to get code

https://www.facebook.com/v18.0/dialog/oauth?client_id=216021238137351&redirect_uri=https://localhost:7258/api/Authentication/callback&auth_type%20=%20rerequestscope=email%20read_insights%20public_profile%20business_management%20pages_read_user_content%20user_photos

then I put the code that I get from previous link in the next link

https://graph.facebook.com/v18.0/oauth/access_token?client_id=216021238137351&redirect_uri=https://localhost:7258/api/Authentication/callback&client_secret=662c36c1d253167865a7d60522bfafe6&code=

finally I put access token in the next link

https://graph.facebook.com/me/accounts?access_token=

and this what response look like

1
  • 1
    Are the pages the user has, business pages? If not, you'd need pages_show_list permission.
    – CBroe
    Sep 14 at 10:57

0

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.