OAuthException using Instagram Display API



在此endint调用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"
}

这可能很简单,但我不知道出了什么问题。我一行一行地跟着开始的那块。https://developers.facebook.com/docs/instagram-basic-display-api/getting-started

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

最新更新