Can't set up Facebook login

Hi,

I am almost finished with my app and now I need to set up Facebook login plugin.However since the beginning I am not able to.

I watched the tutorial video; I have dev account with Facebook, got my app id and secret and copied them to plugin.

I am adding my domains to app settings plus Facebook login sections of dev.facebook site.

I have no idea what I am doing wrong. I am pretty sure it is pretty simple silly detail but I really need guidance like “Facebook Login for Dummies” style.

Thanks in advance

Hello @salihburak ,

Firstly install the Facebook plugin by bubble. Put API-Key and App secret as shown in the screenshot.

Create an app in meta for developers and add a login link to the Valid OAuth Redirect URIs without enabling developer mode.

Afterward, you need to start a workflow with the click of the element which you will create such as:
Screen Shot 2022-12-09 at 4.52.32 PM

Screen Shot 2022-12-09 at 4.58.42 PM

Goto > Account > Select > Signup/login with a social network.

Screen Shot 2022-12-09 at 4.59.45 PM

Select facebook in the OAuth provider. Then redirect to the page you want to show after signup/login.

If any further assistance is required get in touch with me on:
LinkedIn:- Karamjit Singh - Aprintaa - Rank First To Earn Fast! | LinkedIn
Gmail:- karamwise@gmail.com

@karamwise is there a way to get User Access Token from Facebook plugin? Or the direct login should be used? I’m trying to open direct link:
https://www.facebook.com/v18.0/dialog/oauth?client_id=xxxxxxxxxx&redirect_uri=https://xxxxxx-51385.bubbleapps.io/api/1.1/oauth_redirect&state={68}

But there’s a problem with a state after redirect:

{"statusCode":400,"body":{"status":"ERROR","message":"Invalid state from oauth provider"}}