While redirecting, I am getting the following error from threads: {"error_message":"No application data was given: There was a problem getting data for an application. The application may not be valid or there is a temporary glitch. Please try again later.","error_code":1349026}
Additionally, Graph API Explorer is not generating the token and shows this message: Feature unavailable Facebook Login is currently unavailable for this app as we are updating additional details for this app. Please try again later.
Please advise on how to proceed.
Bhumi, was the issue resolved? I'm facing the same errors.
Resolving Redirect Errors and Issues with Graph API Explorer The errors you're encountering with the Graph API Explorer and during redirection are indicative of a few potential issues. Here's a step-by-step approach to diagnose and resolve them:
Step-by-Step Resolution 1. Verify App Settings in Facebook Developer Console: Login to Facebook Developer Console: Go to Facebook Developers and log in. Check App Status: Ensure your app is not in a disabled or restricted state. Navigate to My Apps and select the app you’re working on. Valid OAuth Redirect URIs: Go to Settings > Basic and check the "Valid OAuth Redirect URIs" field. Ensure that your redirect URIs are correctly configured. 2. Ensure Correct App ID and Secret: Ensure you are using the correct App ID and App Secret in your requests and configurations. Reset App Secret: If you suspect the App Secret might be compromised, you can reset it under Settings > Basic. 3. Regenerate Access Tokens: If your access tokens are invalid or expired, regenerate them using the Facebook Developer Console. Go to Tools > Graph API Explorer, select your app, and generate a new access token. 4. Check Facebook Login Configuration: Enable Facebook Login: Ensure that Facebook Login is enabled for your app. Go to Products > Facebook Login > Settings and ensure it's properly configured. Permissions and Features: Check the required permissions and ensure they are properly requested in the login flow. 5. Handle API Errors and Debugging: API Status: Check the Facebook Platform Status to see if there are any ongoing issues with the Facebook Graph API. Error Codes and Messages: Refer to the Facebook API Error Codes Documentation to understand what specific error codes mean and how to resolve them. Specific Steps for the Errors You Mentioned Error 1: "No application data was given" Check Application Validity: Ensure that your application is correctly set up and has all necessary configurations and permissions. Temporary Glitch: Sometimes, this error could be due to a temporary glitch. Wait a while and try again. Error 2: "Feature unavailable" Update App Details: Follow the message's advice and update any necessary details for your app. This might include completing required fields or submitting your app for review. Verify App Status: Ensure your app is in a live status if it requires public access. Check under App Review > Permissions and Features to see if any permissions need approval. Additional Tips Check for Platform Updates: Facebook Developer Blog: Regularly check the Facebook Developer Blog for updates that might affect your app. Community and Support: Facebook Developer Community: Post your issue in the Facebook Developer Community. Other developers or Facebook staff might offer insights or solutions. Facebook Support: If you're unable to resolve the issue, consider reaching out to Facebook support for further assistance. Example Workflow to Regenerate Access Token Go to Graph API Explorer: Navigate to Tools > Graph API Explorer in the Facebook Developer Console. Select your app from the dropdown. Generate Access Token: Click on "Get Token" and select the necessary permissions. Copy the generated access token for use in your API requests. Example Code Snippet for Validating Access Token python Copy code import requests
access_token = 'YOUR_ACCESS_TOKEN' url = f'https://graph.facebook.com/me?access_token={access_token}'
response = requests.get(url)
if response.status_code == 200: print("Access token is valid.") else: print(f"Error: {response.json()}") By following these steps and checking the relevant settings and configurations, you should be able to resolve the redirect errors and issues with the Graph API Explorer. If you encounter further difficulties, don't hesitate to seek assistance from the Facebook Developer Community or support.
I have the same issue -it looks like "Threads" apps have a differnt setting than Faceboo/Instagrma apps - i dont have this option on my threads app: "Valid OAuth Redirect URIs: Go to Settings > Basic and check the "Valid OAuth Redirect URIs" field. Ensure that your redirect URIs are correctly configured." I have set the call back URI at the Threads app "Use Case" still getting the error.
My issue was that i was using my App ID instead of Threads App ID...