{"_id":"tinder_pro","_rev":"26-85a112090caa8b009493aa2be2220888","name":"tinder_pro","description":"API Wrapper for Tinder app","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"author":{"name":"Hung Tran"},"name":"tinder_pro","description":"API Wrapper for Tinder app","version":"1.0.0","repository":{"type":"git","url":"https://github.com/tranhungt/tinder_pro.git"},"keywords":["tinder","api","wrapper","tinderjs","bot","tinderbot"],"main":"./lib/client.js","dependencies":{"request":"2.36.0","jsesc":"0.4.3","underscore":"~1.6.0"},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/tranhungt/tinder_pro/issues"},"_id":"tinder_pro@1.0.0","dist":{"shasum":"4648693a7faf92c91d5898653820dc595f1cd36c","tarball":"https://registry.npmjs.org/tinder_pro/-/tinder_pro-1.0.0.tgz","integrity":"sha512-uLxErcvf4Jwhz8IDUrZ6xptVSH68EAnkEQ1khbB53PmV9RAK+DpjvBpeYb7BtwQSfXX6axQr69dnVN+eDLv9nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx/VC3D4nbUEHJj7zsYL+yzxo5HkPdFBz+HqoWzCDErAIgDJehe0p+gAq6egUq5MzJKMdZ5FUF7kS/upiknCz6+Jw="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tranhungt","email":"tranhungt1@gmail.com"},"maintainers":[{"name":"tranhungt","email":"tranhungt1@gmail.com"}]},"1.0.1":{"author":{"name":"Hung Tran"},"name":"tinder_pro","description":"API Wrapper for Tinder app","version":"1.0.1","repository":{"type":"git","url":"https://github.com/tranhungt/tinder_pro.git"},"keywords":["tinder","api","wrapper","tinderjs","bot","tinderbot"],"main":"./lib/client.js","dependencies":{"request":"2.36.0","jsesc":"0.4.3","underscore":"~1.6.0"},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/tranhungt/tinder_pro/issues"},"_id":"tinder_pro@1.0.1","dist":{"shasum":"eb86b303398675dfbf0dd5ea5127dd575e48b1aa","tarball":"https://registry.npmjs.org/tinder_pro/-/tinder_pro-1.0.1.tgz","integrity":"sha512-kWTLGQ6DBkN2GxUI1LZ9pmMc9Bx8xgmSwRUsvbjJSoU9vHJqwDSv1pXPR0IXAksIWBG6m7qIhKsk6fHN6+5YyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaUWA9t+FFFB5VuGAA/pHLZ98GxjYWPGjfBTpYO3rI9wIgfJs9NT7vIaUj7VOrNpps74+lvJySF6BPcpF6v386krs="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tranhungt","email":"tranhungt1@gmail.com"},"maintainers":[{"name":"tranhungt","email":"tranhungt1@gmail.com"}]},"1.0.2":{"author":{"name":"Hung Tran"},"name":"tinder_pro","description":"API Wrapper for Tinder app","version":"1.0.2","repository":{"type":"git","url":"https://github.com/tranhungt/tinder_pro.git"},"keywords":["tinder","api","wrapper","tinderjs","bot","tinderbot"],"main":"./lib/client.js","dependencies":{"request":"2.36.0","jsesc":"0.4.3","underscore":"~1.6.0"},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/tranhungt/tinder_pro/issues"},"_id":"tinder_pro@1.0.2","dist":{"shasum":"e02e2e415933cdd178e1e1bc92642357b96adc2a","tarball":"https://registry.npmjs.org/tinder_pro/-/tinder_pro-1.0.2.tgz","integrity":"sha512-Zhkk7mEOWT/DrUCKXD+KNP/q/I7dLD+71XV+33P/6cdMfzlVypqGdUBpHt4eh9i33FN4D9aO9e41UtuvteQPZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZq8KT6p7o0fKDmkyiyfirB9D6n0bSv3qo4Cli4wCd9gIhAPLFCzyJrsNpFcaxw1dFeYareeqP1uqekUEDbB87gsRq"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tranhungt","email":"tranhungt1@gmail.com"},"maintainers":[{"name":"tranhungt","email":"tranhungt1@gmail.com"}]},"1.0.3":{"author":{"name":"Hung Tran"},"name":"tinder_pro","description":"API Wrapper for Tinder app","version":"1.0.3","repository":{"type":"git","url":"https://github.com/tranhungt/tinder_pro.git"},"keywords":["tinder","api","wrapper","tinderjs","bot","tinderbot"],"main":"./lib/client.js","dependencies":{"request":"2.36.0","jsesc":"0.4.3","underscore":"~1.6.0"},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/tranhungt/tinder_pro/issues"},"_id":"tinder_pro@1.0.3","dist":{"shasum":"48800f4dec2a5a93270e64febe31c323459ed011","tarball":"https://registry.npmjs.org/tinder_pro/-/tinder_pro-1.0.3.tgz","integrity":"sha512-QjlboelpCDYuyPtBNjGrf2n1VEVmbTajBdN3GxZBoLvERUztaHJaZFnTTLchb6OLoecCCGvdG3DCqBa5FgaU1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5+ZMipuKNw9JMV8JDDqAc8APMqJ/dPrjdCerzPC8JxAiEAzcmziZQ+S2XLYiiVMXTLtBMnJISOh5jPmbqf+s/Q03I="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tranhungt","email":"tranhungt1@gmail.com"},"maintainers":[{"name":"tranhungt","email":"tranhungt1@gmail.com"}]},"1.0.4":{"author":{"name":"Hung Tran"},"name":"tinder_pro","description":"API Wrapper for Tinder app","version":"1.0.4","repository":{"type":"git","url":"https://github.com/tranhungt/tinder_pro.git"},"keywords":["tinder","api","wrapper","tinderjs","bot","tinderbot"],"main":"./lib/client.js","dependencies":{"request":"2.36.0","jsesc":"0.4.3","underscore":"~1.6.0"},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/tranhungt/tinder_pro/issues"},"_id":"tinder_pro@1.0.4","dist":{"shasum":"d62513ba8eff7771e3b1259899b62b9a08f9d0a1","tarball":"https://registry.npmjs.org/tinder_pro/-/tinder_pro-1.0.4.tgz","integrity":"sha512-Ykw4fFdW2CjeGrBHS1ROgk75hXpbsLjQtuKqAmytfJFfYuH+ogt+2jwzMvGnT6eD3DfqJHHe4j+uM2vlmiSEbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDh2C/evGacd90EOFw3yJVCC0pZwBT5hgtcGs+wdHrqbAiEA9nn9Xuh6InsCfvwlkkORg+VOZ3Yw5LnSW1FihzanAPk="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tranhungt","email":"tranhungt1@gmail.com"},"maintainers":[{"name":"tranhungt","email":"tranhungt1@gmail.com"}]}},"readme":"Tinder Pro\n==========\nA wrapper for the Tinder API\n\nInstallation\n------------\nvia `npm`\n\n```\nnpm install tinder_pro\n```\n\nvia `git`\n\n```\ngit clone https://github.com/tranhungt/tinder_pro.git\n```\n\nGetting the Facebook OAUTH Tokens\n---------------------------------\nIn order to use the API, you will need the facebook oauth token. To get the facebook oauth token, it's best to use a proxy service such as [Charles Proxy](http://www.charlesproxy.com/). You can set up Charles Proxy by following a simple walkthrough here:\n\n[http://hungtran.co/discovering-tinders-private-api/](http://hungtran.co/discovering-tinders-private-api/)\n\nAfter setting up the proxy, initiate the tinder app on your phone, and you will see the http request to `https://api.gotinder.com/auth`. Check the request json body, and you will see something like\n\n```javascript\n{\n  \"facebook_token\": \"CAAGm0PX4ZCps............\",\n\n  \"facebook_id\": \"761...\"\n}\n```\n\nUsage\n-----\n\n###Authenticating\nWith the facebook auth token, you can plug it into the app's auth.\n\n```javascript\nvar FACEBOOK_ID = \"761...\"\n\nvar FACEBOOK_TOKEN = \"BAAGm0PX4ZCps............\"\n\nvar TinderPro = require('tinder_pro')\nvar tinder = new TinderPro()\n\ntinder.sign_in(FACEBOOK_ID, FACEBOOK_TOKEN, function(err, res, body){})\n```\n\nEvery function is an asynchronous request to Tinder's API, therefore takes a callback with the params `callback(err, res, body)` that reflects the API's response.\n\n###Interacting with Users\n````\n.get_nearby_users(callback)\n```\n\nReturns an array of json user objects.\n\n```\n.like(user_id, callback)\n```\n\nLikes a user, equivalent of swiping right.\n\n\n```\n.dislike(user_id, callback)\n```\n\nPasses on the user.\n\n```\n.send_message(user_id, message, callback)\n```\n\nSends a message to the user. You can only do this to users whom you've been matched with.\nGenerally used after you call `.like` and the response body.match is true.\n\n```\n.fetch_updates(callback)\n```\nGets updates from your last visit, ie. messages, likes, blocks.\n\n\n###Updating preferences\n```\n.update_search_distance(distance, callback)\n```\n\nTakes an integer distance in miles and updates your search distance preference.\n\n```\n.update_location(latitude, longitude, callback)\n```\n\nUpdates your current position. Latitude and longitude are float precision.\n\n\nCredits\n-------\nCopyright &copy; 2014 Hung Tran\n\nReleased under the MIT License, which can be found in the repository in `LICENSE.txt`.\n","maintainers":[{"name":"tranhungt","email":"tranhungt1@gmail.com"}],"time":{"modified":"2022-06-27T06:54:31.364Z","created":"2014-07-30T06:42:27.909Z","1.0.0":"2014-07-30T06:42:28.454Z","1.0.1":"2014-08-03T04:46:23.065Z","1.0.2":"2014-08-19T16:11:00.384Z","1.0.3":"2014-08-19T16:29:30.071Z","1.0.4":"2014-08-29T03:31:01.789Z"},"readmeFilename":"README.md","keywords":["tinder","api","wrapper","tinderjs","bot","tinderbot"],"repository":{"type":"git","url":"https://github.com/tranhungt/tinder_pro.git"},"author":{"name":"Hung Tran"},"bugs":{"url":"https://github.com/tranhungt/tinder_pro/issues"},"users":{"aitorllj93":true,"lernerbot":true}}