Answer the question
In order to leave comments, you need to log in
How to get the name and age of an ok.ru user from a link to his page?
How to get the name and age of an ok.ru user from a link to his page?
Do I need to ask the user for permission to get this information?
I read that there is an API method users.getInfo
But in the testing system (at the bottom of the page)
I get an error
{
error_code:10
error_msg:PERMISSION_DENIED : User must grant an access to permission 'VALUABLE_ACCESS'
error_data:valuable_access
}
Answer the question
In order to leave comments, you need to log in
Do you need the API or just the name?
If the API - then https://apiok.ru/ext/oauth/permissions
If it's just a name, it doesn't matter how - then you can tritely parse through requests + beautifulsoup4
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question