API requests
Users
Friends
Wall
Notifications
Game interaction
Payment API
Javascript SDK
The following parameters are passed to the request string when the application is displayed
api_id – the launched application’s ID
viewer_id – the ID of the user who launched the application
psid – the game server’s internal ID (set automatically when the server is created)
sid – the game server’s external ID (set by you when the game server is created)
nickname – the player’s nickname
auth_key – a generated key for user authentication. The generation algorithm is described below
token – a unique user token
auth_key is calculated on the Playvision server using the following method:
auth_key = md5(api_id + '_' + viewer_id + '_' + secret_key)
where secret_key – is your application’s secret key. You can set this in the administrative section of your application
The request’s hash (the data after the # in the address) is also passed in the hash parameter