Rest OAutheException使用Instagram显示API

Rest OAutheException使用Instagram显示API,rest,https,instagram,instagram-api,instagram-graph-api,Rest,Https,Instagram,Instagram Api,Instagram Graph Api,在此端点调用POST时出错https://api.instagram.com/oauth/authorize 这是请求机构: { "client_id": "62022....13674", "client_secret": "081f5d8d8d0.....cfbe88d8df1bf1", "grant_type": "authorization_code", "redirect_uri": "https://mystifying-khorana-f72562.

在此端点调用POST时出错<代码>https://api.instagram.com/oauth/authorize

这是请求机构:

{
    "client_id": "62022....13674",
    "client_secret": "081f5d8d8d0.....cfbe88d8df1bf1",
    "grant_type": "authorization_code",
    "redirect_uri": "https://mystifying-khorana-f72562.netlify.com/",
    "code": "AQA6nvV5uJ1PEblnIy2lEx0e6IMc6rOAmnW0Rx6_nVHwQn1IYUp85hRd2rbB9K-BC0877g5Djhy9QjqqD-ImRFPwz0HJDgNEOwD4w5qltzNGYQyoFQd7ttyS9E1E61JdsFduGLXzTU2b8X8vICd_KaJDXeFL9drc8uickz3yy-UaziuKLbExqcMfeEubRcwVnPQFwyLQUnQgcljgXyvV5eeGADgVZYXvZ7Lb7REtyOXReA"
}
这是返回的错误:

{
    "error_type": "OAuthException",
    "code": 400,
    "error_message": "Invalid platform app"
}
这可能很简单,但我不知道是什么错了。我一行一行地跟着入门文章。

您将
发布到错误的URL。您需要将该请求发送到:
https://api.instagram.com/oauth/access_token
将代码交换为访问令牌。

这并不容易。这也无济于事。也许提供更多关于你正在挣扎的细节会有帮助@dingtongsure。你可以在这里查看我的评论[@hermanschutteSeems solved,我猜。选择x-www-form-urlencoded inside Body request。更多信息请点击[@hermanschutte]