V
V
veretelnikov2016-11-19 21:32:20
Android
veretelnikov, 2016-11-19 21:32:20

Why is there no access when calling the friends.getAppUsers API Odnoklassniki Android?

Hello! I use SDK Odnoklassniki. When authorizing a user in the application, I set access OkScope.VALUABLE_ACCESS;
session.requestAuthorization(activity, authUrl, OkAuthType.ANY, OkScope.VALUABLE_ACCESS, OkScope.LONG_ACCESS_TOKEN);
But when calling the friends.getAppUsers method in the logs, a json response is returned PERMISSION_DENIED : User must grant an access to permission 'VALUABLE_ACCESS' What could be the problem? Thanks in advance for your reply.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2016-11-21
@Vjaka

This means that the application does not have the VALUABLE_ACCESS right in the settings, or the session was created when you did not ask for this right yet. Write to [email protected]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question