认证测试用户{"error_type":"OAuthException","code":400,"error_message":"Invalid platform app". } [英] Authenticate the Test User { "error_type": "OAuthException", "code": 400, "error_message": "Invalid platform app" }

查看:2150
本文介绍了认证测试用户{"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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆