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

{"status":200,"results":[]} #49

Closed Babazon closed 7 years ago

Babazon commented 7 years ago

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.

https://www.facebook.com/v2.6/dialog/oauth?redirect_uri=fb464891386855067%3A%2F%2Fauthorize%2F&state=%7B%22challenge%22%3A%22q1WMwhvSfbWHvd8xz5PT6lk6eoA%253D%22%2C%220_auth_logger_id%22%3A%2254783C22-558A-4E54-A1EE-BB9E357CC11F%22%2C%22com.facebook.sdk_client_state%22%3Atrue%2C%223_method%22%3A%22sfvc_auth%22%7D&scope=user_birthday%2Cuser_photos%2Cuser_education_history%2Cemail%2Cuser_relationship_details%2Cuser_friends%2Cuser_work_history%2Cuser_likes&response_type=token%2Csigned_request&default_audience=friends&return_scopes=true&auth_type=rerequest&client_id=464891386855067&ret=login&sdk=ios&logger_id=54783C22-558A-4E54-A1EE-BB9E357CC11F#_=_

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.