defaultnamehere / tinder-detective Goto Github PK
View Code? Open in Web Editor NEWFind your Facebook friends' Tinder profiles. Don't actually use this by the way that's weird. Not even in a good way.
License: MIT License
Find your Facebook friends' Tinder profiles. Don't actually use this by the way that's weird. Not even in a good way.
License: MIT License
Prompt only shows up IF i open the link in Browser. Doesn't show up otherwise.
On saying 'y' I get a Name Error
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1836, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/aldy/Downloads/tinder-detective-master/app.py", line 13, in index
profiles = stalker.get_profiles()
File "/home/aldy/Downloads/tinder-detective-master/api.py", line 143, in get_profiles
friends = self.get_facebook_friends_tinder_ids()
File "/home/aldy/Downloads/tinder-detective-master/api.py", line 86, in get_facebook_friends_tinder_ids
be_creepy = input("Sure you want to look at your Facebook friends' Tinder profiles? They might not like that. ๐ [y/n]: ").lower() in ("y", "yes")
File "", line 1, in
Running ubuntu 16.04 LTS and when i Run
python3 app.py
File "app.py " . line 3 , in
from flask import Flask , render_template
ImportError: No module named 'flask'
Yes i did run
pip -r requierments.txt
In archlinux.
$ python3 --version
Python 3.5.2
$ sudo pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): click==6.6 in /usr/lib/python3.5/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): Flask==0.11.1 in /usr/lib/python3.5/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): itsdangerous==0.24 in /usr/lib/python3.5/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): Jinja2==2.8 in /usr/lib/python3.5/site-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe==0.23 in /usr/lib/python3.5/site-packages (from -r requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): python-dateutil==2.5.3 in /usr/lib/python3.5/site-packages (from -r requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): requests==2.10.0 in /usr/lib/python3.5/site-packages (from -r requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): six==1.10.0 in /usr/lib/python3.5/site-packages (from -r requirements.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): Werkzeug==0.11.10 in /usr/lib/python3.5/site-packages (from -r requirements.txt (line 9))
$ python3 app.py
Traceback (most recent call last):
File "app.py", line 3, in <module>
from flask import Flask, render_template
ImportError: cannot import name 'Flask'
$
Had the "timezone -> datetime" issue described in #13, but after changing the code on my end, I'm getting this error after running the app.
Hey, got the following error:
using the Facebook id i fetched from my facebook app
Traceback (most recent call last):
File "app.py", line 9, in
stalker = api.NSASimulator()
File "C:\Users\ArorAb01\Desktop\tinder-detective-master\tinder-detective-master\api.py", line 42, in init
self.load_fb_auth()
File "C:\Users\ArorAb01\Desktop\tinder-detective-master\tinder-detective-master\api.py", line 51, in load_fb_auth
self.fb_auth = json.load(f)
File "C:\Anaconda3\lib\json__init.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "C:\Anaconda3\lib\json__init_.py", line 319, in loads
return _default_decoder.decode(s)
File "C:\Anaconda3\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=w(s, 0).end())
File "C:\Anaconda3\lib\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)
I got this to work on my Mac.
Now the only output I got is :
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger pin code: xxx-xxx-xxx
Authenticated to Tinder ๐๐ฅ
{"status":200,"results":[]}
127.0.0.1 - - [22/Jul/2016 22:09:42] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [22/Jul/2016 22:09:48] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [22/Jul/2016 22:09:48] "GET /static/main.css HTTP/1.1" 304 -
Nothing more, nothing less.
When going to 127.0.0.1:5000 I only get :
Tinder detective I guess
"It's important to note Tinder's not a secret considering 70% of users download Tinder because their friends recommend it."
I never used python and just want to use this to play around, can someone explain it to me?
Thanks
I keep having this error:
"requests.exceptions.InvalidHeader: Header value 23 must be of type str or bytes, not <class 'int'>"
I tried different things, such as changing timezone to datetime in line 7 but it just changes the header value where the error pops up.
What is wrong?
I'm only getting this page, with nothing else.
What may be wrong?
"Tinder detective I guess"
"It's important to note Tinder's not a secret considering 70% of users download Tinder because their friends recommend it."
I'm getting this error:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.gotinder.com', port=443): Max retries exceeded with url: /auth (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x02979D50>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))
Is this Tinder disabling it? Or do I have to wait a certain amount of time to try again?
I believe this is because the X-Auth-Token header doesn't get set.
Please don't ask how I found this out
Hey, thanks for the app
I got my access token from chrome dev tools, and my id from facebook dev tools using that access token. I'm making sure I edit the SECRETS.json before the token expires.
I looked at the html file you're injecting the python code, I'm looking at the python code (nice comments and variable names) but the page just returns me the object {"status":200,"results":[]} . So I'm authenticated, but none of my friends are using Tinder? Or I'm authenticated but Tinder found out something fishy about my GET request and isn't returning the friends array?
::::Here is how to get the access token and id for those who couldn't find them::::
Install python.
Run Chrome, and go here.
If you don't have tinder, it will ask you to authenticate , if you do, it will pop-up a modal asking you to click "OK". Right click and "Inspect". Go to "Network" and click "preserve log" box. As soon as you click "OK" , an object with "name" confirm?dpr=1 will appear at the bottom. Click that and on the left, click the "Response" tab. There is a loooong string. Copy paste all of it and put it in the notepad. Search it for "access" and you will see the access_token= , copy the characters until &.
Next go here: https://graph.facebook.com/v2.6/me?fields=id&access_token=
And after the = paste your access token. You will get a page with { id: "" } That's your id inside the quotas. Create a "SECRETS.json" file within the app's directory and edit it as in EXAMPLE.json with the new token and id you got. Be quick.
Open cmd and go to the app directory. You must have python installed on your Windows. Firstly type pip install -r requirements.txt so that python installs the dependencies. Then type chcp 65001 and type enter again. Finally type app.py and press enter. If you have set your python properly, app will run and ask you a y/n question. Type y , press enter.
On your Chrome browser, go to 127.0.0.1:5000 and the app should run in that page , showing you your facebook friends' profiles.
After starting the app and going to localhost:5000
I get the following error:
builtins.UnicodeEncodeError
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f512' in position 91: character maps to
Traceback (most recent call last)
File "C:\python30\lib\site-packages\flask\app.py", line 2000, in call
return self.wsgi_app(environ, start_response)
File "C:\python30\lib\site-packages\flask\app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "C:\python30\lib\site-packages\flask\app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\python30\lib\site-packages\flask_compat.py", line 33, in reraise
raise value
File "C:\python30\lib\site-packages\flask\app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "C:\python30\lib\site-packages\flask\app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\python30\lib\site-packages\flask\app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\python30\lib\site-packages\flask_compat.py", line 33, in reraise
raise value
File "C:\python30\lib\site-packages\flask\app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "C:\python30\lib\site-packages\flask\app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "D:\0815_Spielwiese\tinder-detective-master\app.py", line 13, in index
profiles = stalker.get_profiles()
File "D:\0815_Spielwiese\tinder-detective-master\api.py", line 142, in get_profiles
friends = self.get_facebook_friends_tinder_ids()
File "D:\0815_Spielwiese\tinder-detective-master\api.py", line 85, in get_facebook_friends_tinder_ids
be_creepy = input("Sure you want to look at your Facebook friends' Tinder profiles? They might not like that. ๐ [y/n]: ").lower() in ("y", "yes")
File "C:\python30\lib\encodings\cp850.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f512' in position 91: character maps to
Traceback (most recent call last)
File "C:\python35\lib\site-packages\flask\app.py", line 2000, in call
return self.wsgi_app(environ, start_response)
File "C:\python35\lib\site-packages\flask\app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "C:\python35\lib\site-packages\flask\app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\python35\lib\site-packages\flask_compat.py", line 33, in reraise
raise value
File "C:\python35\lib\site-packages\flask\app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "C:\python35\lib\site-packages\flask\app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\python35\lib\site-packages\flask\app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\python35\lib\site-packages\flask_compat.py", line 33, in reraise
raise value
File "C:\python35\lib\site-packages\flask\app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "C:\python35\lib\site-packages\flask\app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "C:\Users\Trump\Downloads\New folder (9)\tinder-detective-master\app.py", line 13, in index
profiles = stalker.get_profiles()
File "C:\Users\Trump\Downloads\New folder (9)\tinder-detective-master\api.py", line 142, in get_profiles
friends = self.get_facebook_friends_tinder_ids()
File "C:\Users\Trump\Downloads\New folder (9)\tinder-detective-master\api.py", line 85, in get_facebook_friends_tinder_ids
be_creepy = input("Sure you want to look at your Facebook friends' Tinder profiles? They might not like that. ๐ [y/n]: ").lower() in ("y", "yes")
File "C:\python35\lib\encodings\cp437.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f512' in position 91: character maps to
"Python has stopped working"
Windows Error, overall app working though:
Authenticated to Tinder AUTH
prints json data...
then crashes
Simply making /like/userID links on the Like/Unlike buttons produce a 404 error when clicked. This is because sending the web browser down those links with no authentication header doesn't give auth or context on who is sending the like request.
I've improved this function by transforming the buttons into Ajax calls back to the Flask app, which in turn calls the API _get() request to the Like URL, passing with it the authenticated headers and then parsing the response back to the front end (status and match) to indicate success in Liking the profile, and whether that like has resulted in a match.
It took me ages to get the SECRETS.json to be found, now i'm getting the error
jinja2.exceptions.TemplateNotFound: main.html
can someone please assist. thank you
latest version of python, windows os, "c:\tinder-detective-master" is base location for app
Copying the token variable from where that URL redirects you to, if logged into facebook, will be the token to get into tinder.
What to do when you get into localhost:5000 in your browser how to write "Y"?
Running app.py is giving me an issue. I made a file named SECRETS.json via text editor in the same folder as the app.py, and input a token/id. But the code returns "Couldn't find SECRETS.json. Did you create it and put your Facebook user id and auth token in it?" What am I doing wrong?
Keep getting the error when running the command "python app.py"
Error while finding spec for 'app.py' (<class "AttributeError">: module 'app' has no attribute "path")
Anybody got any ideas about this?
Noticed it only shows Australian and very few American friends, all of which were online very very recently.
This suggests that it can only show other people that opted in to 'groups', which will likely populate very shortly but as of time of writing, groups has only been out for a day in the US, and only slightly longer in Australia, so there isn't much to see here.
successfully installed requirements.txt
ran app.py (python3 command doesn't work on windows?)
When I open http://localhost:5000 i get a message saying its refused.
Tips?
as heading states, the"swipe buttons" send back an error of
{"status":"401","error":""}
When I run python app.py, I get this:
Anyone know what's going on?
Hi Guys,
Since Tinder Social is no longer, (I'm assuming for every country), this means that tinder-detective no longer works. I can put together a PR if this is the case for everyone
{"status":200,"results":[]}
Getting the above error when executing
python app.py
python app.py
Traceback (most recent call last):
File "app.py", line 5, in
import api
File "/Users/antoniomatarrese/tinder-detective/api.py", line 69
SyntaxError: Non-ASCII character '\xf0' in file /Users/antoniomatarrese/tinder-detective/api.py on line 69, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
127.0.0.1 - - [25/Apr/2020 22:31:25] "GET / HTTP/1.1" 500 -
Traceback (most recent call last):
File "/mnt/c/project0/project0/flask-application/ap.py", line 1, in
from flask import flask
ImportError: cannot import name 'flask' from 'flask' (/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/flask/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/flask/cli.py", line 338, in call
self._flush_bg_loading_exception()
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/flask/cli.py", line 326, in _flush_bg_loading_exception
reraise(*exc_info)
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/flask/cli.py", line 314, in _load_app
self._load_unlocked()
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/flask/cli.py", line 330, in _load_unlocked
self._app = rv = self.loader()
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/flask/cli.py", line 388, in load_app
app = locate_app(self, import_name, name)
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/flask/cli.py", line 245, in locate_app
raise NoAppException(
flask.cli.NoAppException: While importing "ap", an ImportError was raised:
Traceback (most recent call last):
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/flask/cli.py", line 240, in locate_app
import(module_name)
File "/mnt/c/project0/project0/flask-application/ap.py", line 1, in
from flask import flask
ImportError: cannot import name 'flask' from 'flask' (/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/flask/init.py)
127.0.0.1 - - [25/Apr/2020 22:31:26] "GET /?debugger=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
127.0.0.1 - - [25/Apr/2020 22:31:26] "GET /?debugger=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
127.0.0.1 - - [25/Apr/2020 22:31:26] "GET /?debugger=yes&cmd=resource&f=jquery.js HTTP/1.1" 200 -
127.0.0.1 - - [25/Apr/2020 22:31:26] "GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
127.0.0.1 - - [25/Apr/2020 22:31:26] "GET /?debugger=yes&cmd=resource&f=ubuntu.ttf HTTP/1.1" 200 -
127.0.0.1 - - [25/Apr/2020 22:31:26] "GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
127.0.0.1 - - [25/Apr/2020 22:32:39] "GET /?debugger=yes&tb=139682065603456&cmd=paste&s=0eihAxbruzRccWmumclD HTTP/1.1" 500 -
Error on request:
Traceback (most recent call last):
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/werkzeug/serving.py", line 323, in run_wsgi
execute(self.server.app)
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/werkzeug/serving.py", line 312, in execute
application_iter = app(environ, start_response)
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/werkzeug/debug/init.py", line 479, in call
response = self.paste_traceback(request, traceback)
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/werkzeug/debug/init.py", line 370, in paste_traceback
rv = traceback.paste()
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/werkzeug/debug/tbtools.py", line 299, in paste
rv = urlopen("https://api.github.com/gists", data=data)
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Unauthorized
127.0.0.1 - - [25/Apr/2020 22:32:46] "GET /?debugger=yes&tb=139682065603456&cmd=paste&s=0eihAxbruzRccWmumclD HTTP/1.1" 500 -
Error on request:
Traceback (most recent call last):
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/werkzeug/serving.py", line 323, in run_wsgi
execute(self.server.app)
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/werkzeug/serving.py", line 312, in execute
application_iter = app(environ, start_response)
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/werkzeug/debug/init.py", line 479, in call
response = self.paste_traceback(request, traceback)
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/werkzeug/debug/init.py", line 370, in paste_traceback
rv = traceback.paste()
File "/mnt/c/project0/project0/flask-application/flask-env/lib/python3.8/site-packages/werkzeug/debug/tbtools.py", line 299, in paste
rv = urlopen("https://api.github.com/gists", data=data)
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Unauthorized
Traceback (most recent call last):
File "app.py", line 9, in
stalker = api.NSASimulator()
File "C:\Users\HP-HP\Desktop\tinder-detective\api.py", line 42, in init
self.load_fb_auth()
File "C:\Users\HP-HP\Desktop\tinder-detective\api.py", line 51, in load_fb_au
th
self.fb_auth = json.load(f)
File "C:\Users\HP-HP\AppData\Local\Programs\Python\Python36\lib\json__init.
py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "C:\Users\HP-HP\AppData\Local\Programs\Python\Python36\lib\json__init__.
py", line 319, in loads
return _default_decoder.decode(s)
File "C:\Users\HP-HP\AppData\Local\Programs\Python\Python36\lib\json\decoder.p
y", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\HP-HP\AppData\Local\Programs\Python\Python36\lib\json\decoder.p
y", 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)
python app.py
Traceback (most recent call last):
File "app.py", line 5, in
import api
File "/apps/tinder-detective/api.py", line 7, in
from datetime import timezone
ImportError: cannot import name timezone
I don't think Python 2.7 has timezone but 3.X won't run Flask. What am I missing here?
When running requirements.txt, everything runs smoothly until:
error: could not create '/Library/Python/2.7/site-packages/click': Permission denied
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/s0/46d7pqc9183f6t3rtn7js27m0000gn/T/pip-build-bNrv1N/click/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/s0/46d7pqc9183f6t3rtn7js27m0000gn/T/pip-WiJu_h-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/s0/46d7pqc9183f6t3rtn7js27m0000gn/T/pip-build-bNrv1N/click
Any thoughts?
See the above.
Didn't get around to MITM it as I don't have the app installed but I authorized the tinder facebook oauth portal. If your python app hit the enable social endpoint that would be awesome
Is it possible to find my auth token using Flamite for Chrome? I'm having issues trying to find the token, so I thought maybe that way could be easier.
I'm using Web Sniffer extension to watch the traffic, but I didn't find the right token.
After installing the wheel package and the flask and requests modules, I am still getting an error saying:
C:\Users\admin\Desktop\tinder-detective-master>python app.py
Traceback (most recent call last):
File "app.py", line 5, in <module>
import api
File "C:\Users\admin\Desktop\tinder-detective-master\api.py", line 5, in <module>
from dateutil import parser
ImportError: No module named 'dateutil'
I attempted to install it with pip install dateutil
and got back
Collecting dateutil
Could not find a version that satisfies the requirement dateutil (from versions: )
No matching distribution found for dateutil
I am Running Windows 10 x64 with Python 3.5.2 32bit installed.
Hello i am getting multiple error mesages...
am i missing something here ??
Traceback (most recent call last):
File "app.py", line 9, in
stalker = api.NSASimulator()
File "/home/mathisen/tinder/tinder-detective/api.py", line 42, in init
self._load_fb_auth()
File "/home/mathisen/tinder/tinder-detective/api.py", line 51, in _load_fb_auth
self.fb_auth = json.load(f)
File "/usr/lib/python3.4/json/init.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.4/json/init.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 2000, in call
return self.wsgi_app(environ, start_response)
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\flask_compat.py", line 33, in reraise
raise value
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\flask_compat.py", line 33, in reraise
raise value
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "D:\Downloads\tinder-detective-master\app.py", line 13, in index
profiles = stalker.get_profiles()
File "D:\Downloads\tinder-detective-master\api.py", line 143, in get_profiles
friends = self.get_facebook_friends_tinder_ids()
File "D:\Downloads\tinder-detective-master\api.py", line 95, in get_facebook_friends_tinder_ids
request = self._get("group/friends")
File "D:\Downloads\tinder-detective-master\api.py", line 78, in _get
response = requests.get(self.BASE_URL + url, headers=self.headers)
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\requests\api.py", line 71, in get
return request('get', url, params=params, *_kwargs)
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\requests\api.py", line 57, in request
return session.request(method=method, url=url, *_kwargs)
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\requests\sessions.py", line 475, in request
resp = self.send(prep, *_send_kwargs)
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\requests\sessions.py", line 585, in send
r = adapter.send(request, *_kwargs)
File "C:\Users\dkcf\AppData\Local\Programs\Python\Python35\lib\site-packages\requests\adapters.py", line 453, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
When I try to run requirements.text I get the following:
pip3 install -r /Users/michaelddutton/Downloads/tinder-detective-master/requirements.txt
Requirement already satisfied (use --upgrade to upgrade): click==6.6 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r /Users/michaelddutton/Downloads/tinder-detective-master/requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): Flask==0.11.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r /Users/michaelddutton/Downloads/tinder-detective-master/requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): itsdangerous==0.24 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r /Users/michaelddutton/Downloads/tinder-detective-master/requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): Jinja2==2.8 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r /Users/michaelddutton/Downloads/tinder-detective-master/requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe==0.23 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r /Users/michaelddutton/Downloads/tinder-detective-master/requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): python-dateutil==2.5.3 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r /Users/michaelddutton/Downloads/tinder-detective-master/requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): requests==2.10.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r /Users/michaelddutton/Downloads/tinder-detective-master/requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): six==1.10.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r /Users/michaelddutton/Downloads/tinder-detective-master/requirements.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): Werkzeug==0.11.10 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from -r /Users/michaelddutton/Downloads/tinder-detective-master/requirements.txt (line 9))
When I upgrade those items, I get: Requirement already up-to-date:
What am I doing wrong?
Flask is installed in my virtualenv after running
pip install -r requirements.txt
as seen below
(venv) $ pip list
click (6.6)
Flask (0.11.1)
itsdangerous (0.24)
Jinja2 (2.8)
MarkupSafe (0.23)
pip (8.1.2)
python-dateutil (2.5.3)
requests (2.10.0)
setuptools (24.3.0)
six (1.10.0)
Werkzeug (0.11.10)
wheel (0.29.0)
yet I get the error
Traceback (most recent call last):
File "app.py", line 3, in <module>
from flask import Flask, render_template
ImportError: No module named 'flask'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.