S
S
serggl2016-01-04 12:30:57
Classmates
serggl, 2016-01-04 12:30:57

Why does the app require the VALUABLE_ACCESS permission when previously only PHOTO_CONTENT was enough?

Hello!
in the process of rewriting authorization in the Android application from login / password to OAuth, I encountered a problem.
When trying to get a list of albums to download (photos.getAlbums), the application gets an error:

{"error_code":10,"error_msg":"PERMISSION_DENIED : User must grant an access to permission 'VALUABLE_ACCESS'","error_data":"valuable_access"}

There was no such error with login/password authorization. I emailed [email protected] asking them to grant me that permission (still no response since Jan 1st), but it actually looks like a bug: what's the point of separating permissions for albums (VALUABLE_ACCESS) and photos (PHOTO_CONTENT) when photos are part of albums?
Looking forward to your reply :)
PS Application ID [577024]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2016-01-06
@serggl

VALUABLE_ACCESS is basically required by any OAUTH connection that will work with the API more than calling users.getCurrentUser and a couple of other methods.
Accordingly, it must be specified in scope oauth.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question