+3 votes
30 views

Wondering if you can help me. Im using laravel socialite for login purposes. My problem is that i cant seem to get the users gender in my production env conde below:


 $user = Socialite::driver('facebook')->fields([
            'first_name', 'last_name','gender', 'email', 
        ])->user();

The only difference in the two environments is that my prod env is using facebooks api v3.1 but surely it should still be returning gender?

by (1.7k points)   | 30 views

Please log in or register to answer this question.

Related questions

+2 votes
0 answers
+2 votes
0 answers
asked Jun 20, 2020 by athar (3.3k points) | 18 views
+2 votes
0 answers
+2 votes
0 answers
+3 votes
0 answers
asked Mar 20, 2020 by Rehan | 63 views
+1 vote
1 answer
asked Oct 4, 2020 by toheed (1.4k points) | 46 views
+1 vote
1 answer
0 votes
0 answers
+2 votes
0 answers
asked Jun 20, 2020 by athar (3.3k points) | 26 views




Welcome to Meansflow - Where Developers and Students Learn, Share, & Build Careers, where you can ask questions and receive answers from other members of the community.
122 questions
92 answers
43 comments
124 users