I'm now trying pynder, but it requries you to get a facebook ID and access token.
The facebook ID is what each user has in its own page, such as https://www.facebook.com/profile.php?id=YOUR_ID
if I understand it correctly.
However, I don't understand how I get the access token. I first tried to get with this tutorial, but since it is outdated, the actual pop-up page showed two types of ID: Get Use Access Token
and Get Access Token
. So I registered Facebook Developer program.
Then, I didn't know which to pick, but I tried both anyway. The page didn't show read_stream
, by the way. However, I didn't get a correct response when running curl
:
curl -X POST https://api.gotinder.com/auth --data '{"facebook_token": fb_token, "facebook_id": fb_user_id}'
This issued an error: {"code":401,"error":"FacebookTokenRequired"}
.
How can I get the correct access token to run the program?
the following link may help you Getting Facebook Access Token from User Id and Facebook App Secret?