I’ve not used bubble for a while and haven’t changed anything to my app.
How it was working:
login with facebook
-> “current user’s gender = current’s user’s facebook’s gender” (aka. “female” or “male”)
if male= no login but a pop up with an explanation “female only app”
if female= login and create account
right now:
gender seems to be empty and it’s not taking anything from facebook, therefore “gender” stays empty messing up the login process (aka. denying login to everyone) gender%20empty|690x116
Is the facebook plugin not working or what has changed? Because my settings haven’t changed.
Do you mean in the plugin or in the login process?
Because in the process it’s still there:
But I see that in the bubble FB plugin it says “public profile”. Does that mean I need to create an extra API request? (struggled with it last time and managed to make the bubble FB plugin work instead.)
ok. is there a good “how to” you can recommend, please?
Because everything I’ve tried is just not working
I’m happy with the bubble facebook plugin. All I need extra is the gender because it’s a female only travel app. Without the gender it kind of defies the purpose of it
But @AlexDaresTo, should your app be approved, the old fashioned FB plugin should receive the data. (@NigelG might know more about this.) Personally, I use Oauth2 simply to identify what we might call “log-in-ability” which is all we SHOULD care about. (Because it’s all we CAN care about.)
Aside: The intersection of genetic “sex” and “gender” is a Venn diagram, not a Boolean. Gender !== Sex (the types are different). Gender == Sex is true for certain values of Gender and Sex. Check your local ordinances. Here ends today’s sermon.
Binary sex based on XX and XY chromosomes was brought to us by the same people who told us that there were 3 types of matter, solid/liquid/gas.
Ignoring the largest type in the universe, Plasma.
Made school science easier to understand, but like XX/XY … the reality is more complex and not binary for roughly the same % of the population who have green eyes. Whenever I meet a green-eyed person (literal, not figurative) I remind myself of this.
The “old” plugin is what I’ve been using for login with gender and it worked so far. It didn’t at the beginning because the plugin wasn’t taking gender, that’s right. But I talked to bubble and they updated the plugin. That’s probably a year ago…
Just recently the login with gender on my app stopped working for some reason.
Your best bet is to do this on your app side, not on FB API. Even if you succeed getting FB login to retrieve gender appropriately and apply to your conditional statement, chances are they will keep making changes to their Oauth and new requirements in their latest updates to frustrate you.
Better just grab the basic information and present your new users with a screen like “Female Only App. Are you female?” If they click “Yes”, it continues to create a new account… but if they click “No”, it wipes out their whole information sending them back the ground zero