To resolve the “App Not Active” error during Facebook login using Dev Technosys, you'll typically need to address the app’s status and settings in the Facebook Developer Console. This error generally occurs when your app is in development mode or has not been activated for production. Here are the steps to fix it:
Steps to Resolve "App Not Active" Error:
Log in to Facebook Developer Console:
Go to the Facebook Developers portal and log in with your credentials.
Select Your App:
From the dashboard, select the app that is giving you the “App Not Active” error.
Change App Status to Live:
Go to Settings → Basic: On the left sidebar of the app's page, click on Settings, then Basic.
Look for the “App Review” section. If your app is still in “Development Mode,” it will be visible there.
Toggle the app status from Development Mode to Live by switching the “App is Live” setting to Yes.
Important: Your app needs to be in live mode for the login to work properly for users outside your development team.
Submit for App Review (if necessary):
If your app requires permission to access user data (e.g., email, friend list, etc.), you’ll need to submit your app for review before making it live.
Under the App Review section, go to Permissions and Features and submit for review. Facebook will test your app to ensure compliance with their guidelines.
Ensure All Necessary Fields Are Filled:
Make sure that all required fields are filled out correctly, such as your Privacy Policy URL and Terms of Service URL (if applicable).
If you are requesting specific permissions (like email, friends, etc.), make sure you’ve described why you need them and how you’ll use the data.
Check Facebook App ID and Secret:
Ensure that you’ve entered the correct App ID and App Secret into your Dev Technosys app settings. If these are incorrect, the Facebook login won’t work.
Test the Facebook Login:
Once you’ve completed these steps, try logging in again. The error should no longer appear, and users should be able to log in without issue.
Clear Cache and Cookies:
If the issue persists after making your app live, clear your browser's cache and cookies to ensure you’re not seeing outdated information.
Additional Tips:
Test the Facebook login in different environments (Staging/Production): Make sure you test the Facebook login functionality in both staging and production environments to ensure the app behaves as expected.
Check Facebook API Status: Occasionally, Facebook’s login API might have issues. You can check the Facebook Developer Status page for any ongoing outages or issues.
If Issues Persist:
Contact Facebook Support: If the issue still occurs after following the steps above, consider reaching out to Facebook's developer support team for further assistance.
Check Logs: Look at the error logs or console logs for more details on what might be causing the problem.
Once your app is live and the configuration is correct, the Facebook login should work as expected.
Let me know if you need help with any specific part of the process!