F
F
Fakinojika2016-03-05 03:39:45
Classmates
Fakinojika, 2016-03-05 03:39:45

Why did the request API fail for group.getMembers?

Make test example of the group, to obtain the number of participants
Application ID: 1246343936
Public Key applications: CBAELKELEBABABABA - APPLICATION KEY
secret key applications: B634314ECB60B47F5121FD11
Link to application: www.odnoklassniki.ru/game/1246343936
the access_token tkn1sCLvkLYshBLpubpIbaxxjXxtFpXj7pwlLYVOmlCDxMcuDqmVhrEZvmu8Wq8IXOvcY1 - the SESSION the KEY
secret_session_key 86e0681b69661f026ed480f38dc6a1c6
Test_Group 53201621090419
makes a request to the link api.ok.ru/fb.do?api/group/getInfo?application_key=CBAELKELEBABABABA&sig=c2121d1c2db87e260bbab570c6dd7d2d&session_key=tkn1sCLvkLYshBLpubpIbaxxjXxtFpXj7pwlLYVOmlCDxMcuDqmVhrEZvmu8Wq8IXOvcY1&uid=53201621090419&count=99&method=group.getMembers
[Signature] - translated in md5
application_key = CBAELKELEBABABABA
count = 99
method group.getMembers =
session_key = tkn1sCLvkLYshBLpubpIbaxxjXxtFpXj7pwlLYVOmlCDxMcuDqmVhrEZvmu8Wq8IXOvcY1
uid = 5320162109041986e0681b69661f026ed480f38dc6a1c6
86e0681b69661f026ed480f38dc6a1c6
(all merged into one line: application_key = CBAELKELEBABABABAcount = 99method = group.getMemberssession_key = tkn1sCLvkLYshBLpubpIbaxxjXxtFpXj7pwlLYVOmlCDxMcuDqmVhrEZvmu8Wq8IXOvcY1uid = 5320162109041986e0681b69661f026ed480f38dc6a1c6 and encoded in MD5 and inserted instead of [Signature])
Upon request, I received the following response:
101PARAM_API_KEY : No application key
No application key - why such a result?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vjacheslav Kanivetc, 2016-03-07
@Fakinojika

In the request api.ok.ru/fb.do?api/group/getInfo?application_key=CBAELKELEB... you have 2 blocks with parameters ?... in your case it turns out that
"api/group/getInfo?application_key" = " CBAELKELEB..."
API OK can be called either via fb.do (passing method=groups.getInfo)
or without a wrapper as /api/group/getInfo?...
Combining both options will not work

F
Fakinojika, 2016-03-09
@Fakinojika

I did as I understood in different versions, but it didn’t work out .... Can you paint in order? In order to be able to get the number of group members, everything that I understood, tried to do, did, but it still comes out with an error

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question