<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script type="text/javascript" src="//api.odnoklassniki.ru/js/fapi5.js"></script>
<script>
var rParams = FAPI.Util.getRequestParameters(); console.log(rParams);
FAPI.init(rParams["api_server"], rParams["apiconnection"],
function() { console.log('ok')},
function( error ) { console.log(error); }
);
</script>
</head>
<body>
</body>
</html>