instagram_private_api
instagram_private_api copied to clipboard
How to use "user_detail_info" with a user name that contains a period inside?
- [x] Updated to the lastest version v1.6.0
- [x] Read the README and docs
- [x] Searched the bugtracker for similar issues including closed ones
- [x] Reviewed the sample code in tests and examples
Which client are you using?
- [x] app (
instagram_private_api/) - [ ] web (
instagram_web_api/)
Describe your Question/Issue:
When I'm trying to use 'user_detail_info' with a user name that has a period inside (for example: discover.greece) I'm getting an error. I tried to escape the '.' character using regex and \ but I got the same error again. Any suggestions? Thanks!
Error/Debug Log:
Error parsing error response: Expecting value: line 1 column 1 (char 0)
Instagram has been returning a non-JSON serializable response, so you get this error. Try with valid username.
Instagram has been returning a non-JSON serializable response, so you get this error. Try with valid username.
It's a valid user name. The error is because there is a "." in the user name. Please read the issue description.