Giter Site home page Giter Site logo

rtinder's Introduction

Rtinder: Unofficial API Tinder for R

R client for accessing Tinder’s API.

I could not find any scientific project for which to use Tinder data, I would love to be informed about the idea that comes to you.

Since the tinder API is not publicly open. Without the github repository https://github.com/fbessez/Tinder , Rtinder would not have been possible.

Features

  • Provides an interface to the tinder API.

  • Allows swiping, getting matches, sending messages, among other functions.

Installation

Rtinder is only available as a GitHub package. To install it run the following from an R console:

if (!require("remotes")) {
  install.packages("remotes")
}
remotes::install_github("jcrodriguez1989/Rtinder")

Usage

From an R console type:

library("Rtinder")
# When first using Rtinder, we should configure the account.
# It will save (by default) the config file in ~/.tinderAccount.R
# It will save just the access token, not the mail nor the password.
# Wont send info to any server besides Facebook.
# You can see configAccount, it is open source ;)
configAccount("MY_FB_REGISTERED_MAIL", "MY_FB_PASSWORD")

# or by SMS with
configAccountSms(MY_PHONE_NUM) # configAccountSms(543516881918)
# Now we can check if it can connect to tinder.
# login() must be executed each time we load Rtinder library.
invisible(login())
## [1] "You have been successfully authorized!"
# And finally we can start swiping!
mySwipes <- getSwipes()
# mySwipes is a list
fstSwipe <- mySwipes[[1]]
# fstSwipe is a list
names(fstSwipe)
##  [1] "type"         "user"         "instagram"    "facebook"    
##  [5] "spotify"      "distance_mi"  "content_hash" "s_number"    
##  [9] "teaser"       "teasers"
names(fstSwipe$user)
## [1] "_id"        "bio"        "birth_date" "name"       "photos"    
## [6] "gender"     "jobs"       "schools"

rtinder's People

Contributors

jcrodriguez1989 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

pkinif

rtinder's Issues

FB Login not working

Great project, thanks for your effort. I've tried checked everything out using SMS-Auth and it works great!

However, there is an issue using the FB login method. It seems that FB has changed something recently. The access token returned by the configAccount('User', 'PW') function is a HTML response:
accesstoken <- '<!DOCTYPE html><html><head><title>Error</title> [...]

You find the whole output here: https://pastebin.com/nkaKRkqV

Other similar projects seem to also be affected:
fbessez/Tinder#75
Vikash-Kothary/tinder-api-python#6

changeSettings does not work

thank you so much for this wonderful package.
Unfortunately, updating my own account setting doesn't seem to work.
I get my account object back without an error message, but the changes will not be transferred either.
Rest works.
Do you have any idea what could be wrong with that?
Best Andi

package broken

greetings friend.

The package is not working, I was wondering if you are going to update it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.