如何在不提示对话框的情况下授予应用程序访问Instagram帐户的权限?

时间:2014-08-11 14:45:15

标签: api curl oauth instagram

我需要为网站实施Instagram Feed。访问特定用户的照片的唯一方法是授权和授予应用程序。我的问题是,我想访问一个网络应用程序而不是具有instagram的个人用户。在使用连接到web-app-instagram帐户的Web应用程序时,我可以使用什么方法阻止Instagram向用户提示授予对象?

我试图通过以下方式授权客户:

curl -X POST https://api.instagram.com/oauth/access_token -d "grant_type=password&username=USERNAME&password=PASSWORD&client_id=CLIENT_ID&client_secret=CLIENT_SECRET"

得到了错误:

{"code": 400, "error_type": "OAuthException", "error_message": "This client is not xAuth enabled"}%

我希望你能帮助我......

0 个答案:

没有答案