9
9
9tav22016-12-20 09:49:10
Classmates
9tav2, 2016-12-20 09:49:10

I get an error when getting a list of group members in classmates, what should I do?

Good afternoon, I started creating an application for classmates, but when I received the sig parameter, I went into a stupor.
I send the following request:
https://api.ok.ru/fb.do?application_key=CBAFJGHLEB...
the response is:
{"error_code":104,"error_msg":"PARAM_SIGNATURE : Invalid signature 229a3f6bd79b4e6b09f71b24b078a7f2, calculated by string application_key =CBAFJGHLEBABABABAformat=jsonmethod=group.getMembersuid=53350498238712********SECRET KEY*******","error_data":null}
What am I doing wrong? sig got this way:
md5(application_key=CBAFJGHLEBABABABAformat=jsonmethod=group.getMembersuid=533504982302516706b03732c2bb9501002192ea5)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2016-12-20
@9tav2

Рекомендуется на https://apiok.ru/dev/methods/rest/group/group.getM... проверять запросы - там быстрее можно проверить валидность запроса в встроенном калькуляторе запросов.
Как минимум, подпись должна включать секретный ключ сессии а не только передаваемые параметры.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question