我尝试:
curl -F 'client_id=CLIENT ID' -F 'client_secret=CLIENT SECRET' -F 'grant_type=authorization_code' -F 'redirect_uri=URL' -F 'code=CODE' https://api.instagram.com/oauth/access_token
获得:
"哎呀,发生了一个错误。"
您需要在http://instagram.com/developer/并将您的客户ID、客户端机密替换为Instagram生成的ID,并将URL替换为您的应用程序所在的URL。