+3 votes
8 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)   | 8 views

Please log in or register to answer this question.

Related questions

+2 votes
0 answers
+2 votes
0 answers
asked Jun 20 by athar (2.5k points) | 8 views
+3 votes
0 answers
asked Mar 20 by Rehan | 26 views
0 votes
0 answers
+2 votes
0 answers
asked Jun 20 by athar (2.5k points) | 8 views
+3 votes
1 answer
asked Jun 19 by athar (2.5k points) | 8 views
+2 votes
0 answers




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.
106 questions
75 answers
36 comments
93 users