python-facebook icon indicating copy to clipboard operation
python-facebook copied to clipboard

FacebookError when trying to get an app access code

Open preske87 opened this issue 1 year ago • 3 comments

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?

preske87 avatar Oct 20 '24 06:10 preske87

Your app info maybe error, you can check it.

MerleLiuKun avatar Oct 22 '24 07:10 MerleLiuKun

Hello @MerleLiuKun ,

well where do I get this? Where do I get or set application info?

preske87 avatar Oct 27 '24 13:10 preske87

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.

MerleLiuKun avatar Oct 29 '24 02:10 MerleLiuKun