Answer the question
In order to leave comments, you need to log in
OK.RU API: How to fix strange error when getting user's albums?
Actually I'm trying to get the user's photos.
The application has the right to do so.
The request parameters are as follows:
GET api.ok.ru/fb.do?application_key=XXXXXXXEEBABABABA&...
The API returns an error:
PARAM : Only one of session_key or uid must be specified
But the bottom line is that I only pass uid, there is no session_key in the request.
Answer the question
In order to leave comments, you need to log in
session_key is a normal session parameter
Since you are going through OAUTH, you have an analogue of the session - access_token, which also denotes the session.
The API requires either a session (in the form of a session_key or access_token) or a uid.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question