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

its looks like this app isn't available,Facebook login not working for non administrative/testers users, mobile app react native #2454

Open
5 tasks done
Adnan46 opened this issue Jul 5, 2024 · 26 comments

Comments

@Adnan46
Copy link

Adnan46 commented Jul 5, 2024

Checklist before submitting a bug report

Xcode version

15

Facebook iOS SDK version

iOS v8.2.0

Dependency Manager

CocoaPods

SDK Framework

Login

Problem

In my app i cant login to nonadministrative/nontesters users in facebook login for business, even I have done all the required steps to use facebook login bussiness for both administrative/testers and nonadministrative/nontesters users.

below are the point what i have done but still it is not working for non-administrative/non-testers users, I am getting "its looks like this app isn't available" ERROR, is there any other thing we need to do?

business verify.
Access verify.
email and public profile advance access.
Use data checkup completed.
Configuration added.
we are also attaching images for the point which we have done.

ERROR IN APP

email and public_profile advanced access granted

business and access verification completed and data checkup also

Our App is on LIVE mode also

Configuration added

BUT STILL WE CANT LOGIN ON non-administrative/non-testers users, IS THERE ANY THING OTHER TO DO???????

image
image
image
image

@fari42
Copy link

fari42 commented Jul 20, 2024

did you find a fix I have same issue ?

@Adnan46
Copy link
Author

Adnan46 commented Jul 22, 2024

@fari42 not now

@Adnan46
Copy link
Author

Adnan46 commented Jul 22, 2024

@jawwad @KylinChang @Zhiyi-Zhang @revolter @jjiang10 @ryantobinmeta please check this issue

@fari42
Copy link

fari42 commented Jul 22, 2024

In my side it was access verification missing now it works @Adnan46 pages_read_user_content, pages_manage_posts, pages_show_list, pages_manage_engagement, business_management, read_insights, pages_read_engagement

@Adnan46
Copy link
Author

Adnan46 commented Jul 23, 2024

@fari42 but as you can see my access verification is already done but not working for non tester users,
you are using react native fbsdk or react native fbsdk-next?

@fari42
Copy link

fari42 commented Jul 23, 2024

I have python backend

@Adnan46
Copy link
Author

Adnan46 commented Jul 23, 2024

@fari42 for frontend ?

@fari42
Copy link

fari42 commented Jul 23, 2024

Show me your App review it is ok ? I use html css javascript for front no framework

@Adnan46
Copy link
Author

Adnan46 commented Jul 24, 2024

@fari42 above all screenshot mentioned, i am integrating it in mobile app react native

@rajnishp
Copy link

I am also having same issue,
In App Type : Facebook Login - It works
But in app Type : Others - It doesn't, Same Issue

@delgiudices
Copy link

Experiencing the same problem, facebook login works fine on web but on ios it shows the app is not available

@DEVELOPBYSHUBH
Copy link

I am facing the same issue for a test role user and admin role in development mode. Can anyone please help me to solve this issue

@AdeolaFaraday
Copy link

this has been an issue for us to for a while now, if there is a way we can contact facebook directly to help with this issue.
@jawwad @Adnan46

@AdeolaFaraday
Copy link

@jawwad found a solution.
First you have to load the facebook sdk, kindly note you have to create a configuration of user access token.
useEffect(() => { // Load the Facebook SDK script if (!window) return; (function (d, s, id) { const fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; const js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/en_US/sdk.js'; fjs.parentNode.insertBefore(js, fjs); })(document, 'script', 'facebook-jssdk'); // Initialize the Facebook SDK after it has loaded window.fbAsyncInit = () => { window.FB.init({ appId: FACEBOOK_CLIENT_ID, // Replace with your Facebook App ID cookie: true, xfbml: true, version: 'v20.0', config_id: FACEBOOK_CONFIG_ID, // Replace with your config_id }); }; }, []);

. The next step is to call the login method.

window?.FB?.login( (response) => { // response with code }, { config_id: FACEBOOK_CONFIG_ID, response_type: 'code', override_default_response_type: true } );

what you will get after you call this is response object with code
then you will call another api with the code you got back to exchange it for access token.
https://graph.facebook.com/v20.0/oauth/access_token?
client_id=${FACEBOOK_CLIENT_ID}
&client_secret=${FACEBOOK_CLIENT_SECRET}
&code=${response?.code}

THIS END POINT THEN RETURN THE ACCESS TOKEN.

@ecarterdev
Copy link

@delgiudices @rajnishp @AdeolaFaraday @adnan @fari42 still, i'm facing this problem

@AdeolaFaraday
Copy link

Do you have app type of business and is your app is to live mode? @ecarterdev
Can you also share how you have done the set up on your end.
Thanks.

@ecarterdev
Copy link

Do you have app type of business and is your app is to live mode? @ecarterdev Can you also share how you have done the set up on your end. Thanks.

business type and live mode
Screenshot 2024-09-02 at 5 32 01 PM

@Vaasu02
Copy link

Vaasu02 commented Sep 5, 2024

hey can anyone help me when i try to login it is saying
its looks like this app isn't available I have App type: Business and in development mode

@AdeolaFaraday
Copy link

@ecarterdev @Vaasu02
If it's possible can you share your code implementation (snipet).

@DEVELOPBYSHUBH
Copy link

Hello @AdeolaFaraday , I am getting the same issues in my flutter project. can you please help me to solve this issues.

@ecarterdev
Copy link

ecarterdev commented Sep 11, 2024

@AdeolaFaraday @DEVELOPBYSHUBH @Vaasu02 @alloy I tried with firebase auth but unfortunately, getting same error.

Note: In both platform like Android and IOS.

@AdeolaFaraday
Copy link

I was able to solve this issue on the web, from what i have observed, I am not sure it's possible to do login with facebook business with the package on mobile.
I am currently working on a solution to use it on mobile.
Will let you know when i have something.

@DEVELOPBYSHUBH
Copy link

In my Flutter app, it is not working for test users or admin users on iOS, would anyone be able to help me solve this issue? If anyone has a solution, please let me know.

@vanqui123
Copy link

vanqui123 commented Sep 14, 2024

with type business please add permission 'business_management' and 'pages_show_list'
Screenshot 2024-09-14 at 13 35 38

@AdeolaFaraday
Copy link

AdeolaFaraday commented Sep 14, 2024

Standard or advanced access? @vanqui123
And also are you using config id any where in the set up?
Kindly share a screenshot that your set up for this login with business works 🙏

@vanqui123
Copy link

Standard or advanced access? @vanqui123

Standard or advanced access? @vanqui123 And also are you using config id any where in the set up? Kindly share a screenshot that your set up for this login with business works 🙏

hi @AdeolaFaraday. Have you added the permission I mentioned above to the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants