defaultnamehere / tinder-detective

Find your Facebook friends' Tinder profiles. Don't actually use this by the way that's weird. Not even in a good way.
MIT License
701 stars 60 forks source link

Multiple error mesages #24

Closed mathisen99 closed 8 years ago

mathisen99 commented 8 years ago

Hello i am getting multiple error mesages... am i missing something here ??

python3 app.py

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)

tibeoh commented 8 years ago

Hi, I had the same error, you have a synthax error in your SECRETS.json file.

{
        "facebook_id": "XXX",
        "facebook_token": "XXXX"
}

Check if you don't forget a quote.

mathisen99 commented 8 years ago

ahh yes that did the trick! thx.. one more thing i cant seem to reach the remote server im running it on.. is it only localhost that can reach it ?

port is open and not used

yanir3 commented 8 years ago

@mathisen99 in app.py change to this: app.run(debug=True, host="0.0.0.0")

mathisen99 commented 8 years ago

worked like a charm! thx both of you :)