Open sp1thas opened 4 years ago
I've got a similar issue:
File "/root/instagram_private_api/instagram_web_api/client.py", line 433, in user_info2
info = self._make_request(endpoint, query={'__a': '1'})
File "/root/instagram_private_api/instagram_web_api/client.py", line 284, in _make_request
return json.loads(response_content)
File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Looks like it has become an instagram limitation.?
API graph v2.12 will be deprecated on May 05, 2020.
How about using:
https://www.instagram.com/USERNAME/?__a=1
like
https://www.instagram.com/instagram/?__a=1
Before submitting an issue, make sure you have:
Which client are you using?
instagram_web_api/
)instagram_private_api/
)Describe the Bug/Error:
Then I'm trying to use
user_info2
method from aClient
object I'm gettingValueError
Python version:
Python 2.7.15rc1
Code:
Error/Debug Log: