При запросе выдает ошибку:
Invalid signature$access_token=$input->json->get('access_token');
$sign = md5("application_key=1251321856format=jsonmethod=users.getCurrentUser" . md5("
{$access_token}$secret_key"));
$params = array(
'method' => 'users.getCurrentUser',
'access_token' => $access_token,
'application_key' =>$application_key,
'format' => 'json',
'sig' => $sign
);
$userInfo = json_decode(file_get_contents('http://api.odnoklassniki.ru/fb.do' . '?'
. urldecode(http_build_query($params))), true);
print_r($userInfo);