Osintgram
Osintgram copied to clipboard
Only works on logged account (only my account) - ISSUE FOUND
Hi everyone, I have used Osinstagram brefore, probably about 6 months ago, but today I have run into an issue where I can only check the account I have logged in as, I have tried using 2 different accounts, and i get the exact same issue on both:
Attempt to login...
Error parsing error response: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/Users/chrsmith/github/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/client.py", line 523, in _call_api
response = self.opener.open(req, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/chrsmith/github/Osintgram/main.py", line 125, in <module>
api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chrsmith/github/Osintgram/src/Osintgram.py", line 47, in __init__
self.setTarget(target, True)
File "/Users/chrsmith/github/Osintgram/src/Osintgram.py", line 61, in setTarget
self.following = self.check_following()
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chrsmith/github/Osintgram/src/Osintgram.py", line 176, in check_following
return self.api._call_api(endpoint)['user_detail']['user']['friendship_status']['following']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chrsmith/github/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/client.py", line 527, in _call_api
ErrorHandler.process(e, error_response)
File "/Users/chrsmith/github/Osintgram/venv/lib/python3.11/site-packages/instagram_private_api/errors.py", line 135, in process
raise ClientError(error_msg, http_error.code, error_response)
instagram_private_api.errors.ClientError: Not Found
Neither account is private, and any accounts I have tested running the tool on are also public. Has anyone else had this issue? Has anyone got a solution?
Thanks in advanced!
EDIT: After some research and some API deep diving, it seems to be due to changes to Instagram's (Meta) API, which now blocks the functionality of this tool... I am not sure if it can be remedied but I will have a look over the weekend and create a pull request if there is a possible fix.
i have this issue too i hope you find the solution
Can you tell me how did you enter your credentials? I keep getting an error where is says the password is incorrect (it isn't, I have checked). Important info: I'm using google cloud shell
@Pedrozma I used the make setup command but you can edit the config file directly, as for the Google cloud part of your question, I'm not sure, is your account a standard email login or do you use an external auth to login like a Facebook account or something like that?
Do you have 2FA enabled? If so, you'll have to turn it off to be able to log-in, I had to do so for o e of my accounts.
@Casm101 2FA is not enabled, is a brand new account. I tried both, the "make setup" command and edditing the file, but I get the same error. I believe there is a \n or something else messing with it, but I can´t seem to figure it out.
I was also wondering if this happened to you: when using the "make setup" command, after writing the username and hitting enter, the password part of the command is trigered, but it doesnt't show anything I write. However, after hitting enter again and checking the credentials.ini file everything I typed appears (in the file).
I think that the API this tool is using has changed and we have to find out the new API other this is gonna continue for ever.
I am not a Programmer not a CyberWorm... So, I guess someone has to do something with this tool now
Hello everyone, It's 1/2024 and has anyone found an answerf or this issue?
I got this problem too. I've installed the tools on different OS but all didn't work. It only works with target as the logged account. It means nothing that's unavailable to do research on target, does anyone have the solution THX