L4ser-Security-Labs / whoget

OSINT Tool for Nigerian Phone Numbers
GNU General Public License v3.0
17 stars 8 forks source link

error #3

Closed shanow7 closed 3 years ago

shanow7 commented 4 years ago

hi, I've problem with start

whoget$ python3 whoget.py Traceback (most recent call last): File "whoget.py", line 29, in import social File "src/social.py", line 31, in TWITTER_API_KEY=config('vAVbhh4kv8U0bgTwX7X0cV') File "/usr/local/lib/python3.8/dist-packages/decouple.py", line 199, in call return self.config(*args, *kwargs) File "/usr/local/lib/python3.8/dist-packages/decouple.py", line 83, in call return self.get(args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/decouple.py", line 68, in get raise UndefinedValueError('{} not found. Declare it as envvar or define a default value.'.format(option)) decouple.UndefinedValueError: vAVbhh4kv8U0bgTwX7X0cV not found. Declare it as envvar or define a default value.

can you help?

lagosnomad commented 4 years ago

hi,

have you created the .env file with your keys?

shanow7 commented 4 years ago

I don't know how to do this, but I use api key in social.py

lagosnomad commented 4 years ago

@shanow7 please share your environment details while I try to reproduce this

thanks

shanow7 commented 4 years ago

image

is this correct? and how can i sign up?

lagosnomad commented 4 years ago

To obtain your Twitter keys, check the How to get started with the Twitter APIs section.

To obtain your Facebook keys follow this link

shanow7 commented 4 years ago

we did not understand each other... I have the keys, I asked if they were entered correctly in .env and if so, with what command to save the file

lagosnomad commented 4 years ago

yes you've entered correctly. I can see you're using Vim so use the command ":x" to save

shanow7 commented 4 years ago

~/OSINT/whoget$ python3 whoget.py -p +2348123456789 Traceback (most recent call last): File "whoget.py", line 29, in import social File "src/social.py", line 31, in TWITTER_API_KEY=config('vAVbhh4kvzfv8U0bg') File "/usr/local/lib/python3.8/dist-packages/decouple.py", line 199, in call return self.config(*args, *kwargs) File "/usr/local/lib/python3.8/dist-packages/decouple.py", line 83, in call return self.get(args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/decouple.py", line 68, in get raise UndefinedValueError('{} not found. Declare it as envvar or define a default value.'.format(option)) decouple.UndefinedValueError: vAVbhh4kvzfv8U0bg not found. Declare it as envvar or define a default value.

lagosnomad commented 4 years ago

TWITTER_API_KEY=config('vAVbhh4kvzfv8U0bg') That is the wrong format for defining your keys.

Please follow the .env setup guide here and let me know if you still have the error.

shanow7 commented 4 years ago

image I heve this format is wrong?

lagosnomad commented 4 years ago

please send me an email wole[at]lagosnomad[dot]com so I can help you debug this issue closely since I can't reproduce.