认证测试用户{"error_type":"OAuthException","code":400,"error_message":"Invalid platform app". } [英] Authenticate the Test User { "error_type": "OAuthException", "code": 400, "error_message": "Invalid platform app" }
问题描述
我正在尝试通过Instagram基本显示API恢复访问令牌,但是在尝试对测试用户进行身份验证时出现此错误:
I'm trying to recover the access token via the Instagram Basic Display API but when trying to authenticate the test user I get this error:
{
"error_type": "OAuthException",
"code": 400,
"error_message": "Invalid platform app"
}
我希望看到应用授权屏幕
I expect to see the app authorization screen
推荐答案
费利斯!
设置Instagram应用程序时,应使用平台特定的应用程序ID,而不要使用Facebook上的通用设置.
When setting up an Instagram app, you should use the platform specific App ID and not the generic one setup on Facebook.
在您的Facebook应用仪表板中,转到Products > Instagram > Basic Display
,并应看到 Instagram应用ID .
In your Facebook app Dashboard go to Products > Instagram > Basic Display
and should see the Instagram App ID.
在您的授权URL中使用它,它应该可以工作.
Use that in your authorization URL and it should work.
这篇关于认证测试用户{"error_type":"OAuthException","code":400,"error_message":"Invalid platform app". }的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!