skip to Main Content
$ curl -X POST 
        -H "X-Auth-Token: FB_AUTH_TOKEN" 
        -H "Content-type: application/json" 
        -H "User-agent: Tinder/7.5.3 (iPhone; iOS 10.3.2; Scale/2.00)" 
https://api.gotinder.com/auth

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 69 100 69 0 0 105 0 –:–:– –:–:– –:–:– 105{“code”:400,”error”:”Missing authToken#NO_FB_TOKEN”,”error_no”:40001}

Does this mean I go thet incorrect Facebook auth token? I’m following the specifications in this REST API: https://github.com/fbessez/Tinder

2

Answers


  1. Based on the documentation you referred, I can see you are not sending the post data in the request body {'facebook_token': INSERT_HERE, 'facebook_id': INSERT_HERE}
    Besides, the docs says X-Auth-Token is not required for /auth

    Login or Signup to reply.
  2. This appears to have been changed as per: https://github.com/fbessez/Tinder/issues/69

    Now the request is

    curl --location --request POST 'https://api.gotinder.com/v2/auth/login/facebook' 
    --header 'platform: ios' 
    --header 'User-agent: Tinder/7.5.3 (iPhone; iOS 10.3.2; Scale/2.00)' 
    --header 'Accept: application/json' 
    --header 'Content-Type: application/json' 
    --data-raw '{
            "token": "{{facebook_token}}",
            "facebook_id": "{{facebook_id}}"
      }'
    

    The changes are:

    1. the URL endpoint
    2. Payload key: ‘facebook_token’ is now just ‘token’
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search