该范围关系未授权访问令牌



我正在将范围附加到以下>>>范围>> scope = likes commist comment belations basic

但是,在登录时,它没有询问用户的关系许可,而只显示"此应用程序可以拍摄您的照片"。

每当我碰到任何用户时,在应用程序内部

中解开任何用户
String url="https://api.instagram.com/v1/users/"+userid+"/relationship/?access_token="+MainSingleTon.accesstoken;
            // key and value pair
            List<NameValuePair> nameValuePair = new ArrayList<NameValuePair>(1);
            nameValuePair.add(new BasicNameValuePair("action","unfollow"));

            JSONObject json=jParser.getJSONFromUrlByPost(url, nameValuePair);

我正在获得JSON响应

{"meta":{"error_type":"OAuthPermissionsException","error_message":"This request requires scope=relationships, but this access token is not authorized with this scope. The user must re-authorize your application with scope=relationships to be granted write permissions.","code":400}}

这是邮政请求。要向Instagramapi提出发布请求,您需要将您的申请详细信息和公司详细信息提交给Instagram进行审查。也许其他关系端点在不提交应用程序的情况下会正常工作。有关更多详细信息,请访问以下链接https://instagram.com/developer/endpoints/relationships/#post_relationshiphip

最新更新