【问题标题】:Instagram authorization scope doesn't workInstagram 授权范围不起作用
【发布时间】:2015-05-02 16:37:06
【问题描述】:

关于设置Instagram授权API的范围有些问题,但是花了一整天后,我仍然无法弄清楚是什么问题:(

这是我的代码:

var url = string.Format("https://api.instagram.com/oauth/authorize/?client_id={0}&redirect_uri={1}&response_type=code&scope=likes+relationships", clientId, redirectUrl);

return Redirect(url);

我在 URL 中添加了 likesrelationships 范围。但是,当用户登录时,Instagram 只要求BasicsFollow/Unfollow 权限,而没有likes。 所以我不能代表用户喜欢我所做的任何事情。

非常感谢任何帮助。

【问题讨论】:

    标签: c# api oauth instagram


    【解决方案1】:

    即使您将范围添加为喜欢+关系,instagram 也只会为您提供基本权限。在您提交应用程序以供审核之前,Instagram 不会授予您更新关系、点赞和 cmets 的权限。使用基本权限,您可以查看喜欢您帖子的人,但您不能点赞或评论帖子,也不能更新关系状态,如关注/取消关注/阻止/取消阻止/忽略。有关提交应用程序的更多详细信息,请参阅https://help.instagram.com/contact/185819881608116

    【讨论】:

      猜你喜欢
      • 2015-07-07
      • 2020-07-19
      • 1970-01-01
      • 2012-04-24
      • 2015-08-09
      • 2020-09-20
      • 2017-06-25
      • 2018-06-15
      • 2013-12-11
      相关资源
      最近更新 更多