python-facebook
python-facebook copied to clipboard
FacebookError when trying to get an app access code
Trying to generate an access code for the app, I get an error
My code to connect
api = GraphAPI(app_id=INSTAGRAM_APP_ID,app_secret=INSTAGRAM_APP_SECRET_CODE, application_only_auth=True)
Returning error
FacebookError(code=101,message=Error validating application. Cannot get application info due to a system error.,type=OAuthException,fbtrace_id=A0IOBZ89Nm1tCYi7Xw2GuGJ)
ideas or suggestions?
Your app info maybe error, you can check it.
Hello @MerleLiuKun ,
well where do I get this? Where do I get or set application info?
What do you mean by "INSTAGRAM_APP_ID" here? I couldn’t reproduce the issue, so I suspect it might be related to some settings specific to your app.
You can use this official tool to send requests directly and verify the related operations.