V
V
Vadim Frolov2017-03-02 10:43:42
Classmates
Vadim Frolov, 2017-03-02 10:43:42

What is the problem with the API request?

What if a request like (see below) returns an empty array and there is no invocation-error in the response header?
https://api.ok.ru/fb.do?application_key=SSSSSSSSSS...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tom Nolane, 2017-03-02
@vmaya

here you can experiment.
1) you must have/get VALUABLE_ACCESS rights
2) here is the correct query that works for me:

sig = "application_key=******BABABABAfields=age,last_onlineformat=jsonmethod=users.getInfouids=568455034719" + session_secret_key
//п.с. до md5
https://api.ok.ru/fb.do
?application_key=*****BABABABA
&fields=age%2Clast_online
&format=json
&method=users.getInfo
&uids=568455034719
&sig=cb0553104c39c5e4e0074e33aac2ba77 //sig после md5
&access_token=e7eebd4236.efa4a54c290a892dd2c097a30497a6403f1d79343794cdcc

result:
UPD:
UPD2
your specified parameters are the same as mine, so check what you specified above

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question