Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoload not appending scope to url #373

Open
jiacob opened this issue Aug 3, 2024 · 0 comments
Open

autoload not appending scope to url #373

jiacob opened this issue Aug 3, 2024 · 0 comments

Comments

@jiacob
Copy link

jiacob commented Aug 3, 2024

I am trying to use the autoload function, but whenever the facebook login popup appears its errors out because the scope permissions isnt specified. I took a look at the url when the autoload facebook login appears and it is missing the scope parameters. Is there anyway to fix this? not sure if this a api bug or something on my end that i I'm missing. Thanks

    <div>
        <FacebookLogin
            appId={APP_ID}
            callback={responseFacebook}
            autoLoad={true}
            scope={["read_insights",
                    "pages_show_list"]}
            render={renderProps => (
                <button onClick={e => {
                    console.trace();
                    }
                }>Login via FB</button>
            )}
        />
    </div>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant