2. In json.php we need to get account info according to documentation section http://developers.nk.pl/documentation/nk-api/opensocial-rest-api/people-services/, but in protocol description for REST API nk_token field is required.

And it's missing in parameter set when requesting authorization, and methods to get it will not work as we have a game aaplication but not an external login+password authorization.