>

REST API - friends.get

 

Returns users' IDs of the current user's friends. The current user is determined from the session_key parameter.

 

Parameters

 

No parameters, except application and session parameters.

 

Authorization

 

  • User must authorize the calling application

 

Examples

 

Request : /friends/get?application_key=[Application Key]&sig=[Signature]&session_key=[Session Key]

 

XML

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:friends_get_response xmlns:ns2="https://api.rbkgames.com/">
    <ns2:friends>1487845</ns2:friends>
    <ns2:friends>...<ns2:friends>
</ns2:friends_get_response>

JSON

 

[1487845, ...]

 

Помощь