I downloaded and started a test example to work with Android SDK https://github.com/odnoklassniki/ok-android-sdk
there were no Problems. users.getCurrentUser
returns the user data.
Further, in the MainActivity and manifest I changed the details on their application (APP_ID
= "1248444928"; APP_KEY
= "C***************A"; REDIRECT_URL
The authorization was successfull, however, at the request of users.getCurrentUser
,"error_msg":"PARAM : Selected platform is not allowed for this application
To use the library from here: https://github.com/gorbin/ASNE
With this library, and my details of application users.getCurrentUser
returns the user data. However, the library uses the old API classmates and does not give session_secret_key necessary for the widget publication https://apiok.ru/ext/publish,
so no good for me.
1) What means this error?
2) How to get rid of it?