Tinder::API - Unofficial internal Tinder's API calls.
C<< my $API= new Tinder::API('facebookAuthToken',"Id"); >>
This module was orginally the first Perl library to interract with Tinder app. As you may know, Tinder uses a series of non encrypted API calls in order to make the client-server possible. Those calls are greatly documented in -https://gist.github.com/rtt/10403467 repo. You can use Fiddler , install the trust certificate on your mobile device and use your Fiddler sniffer as a proxy for all traffic. Then you will get more or less the same pattern as the repo above. In the current library, I aim to provide an easy access to the calls. Please note that you will need a FaceBook Authentication Token for Tinder::API to work! You can get it by going on -https://www.facebook.com/dialog/oauth?client_id=464891386855067&redirect_uri=https://www.facebook.com/connect/login_success.html&scope=basic_info,email,public_profile,user_about_me,user_activities,user_birthday,user_education_history,user_friends,user_interests,user_likes,user_location,user_photos,user_relationship_details&response_type=token.
Returns a new Tinder::API object
Takes a facebookAuthToken and a corresponding Id and returns a tinder X-Auth-Token.
my XAUTHTOKEN=$API->auth()Please note that this is an internal method and is already called in the constructor new.
Takes two coordinates (lat,long) and updates your coordinates on Tinder;
$API->relocate(0.00000,0.00000)NOTE Sometimes Tinder spits out Not significant change for your location. This means in most cases that you have to feed it a pair with more distance to the old coordinates.
Returns a list of recommendations from Tinder;
Takes a TinderId of a user (valid) and returns all information about him/her;
Takes a TinderId of a user (valid) and the body of a message, and sends the message to the give TinderId;
Returns a list of Tinder updates;
Takes a TinderId of a user (valid) and a decision (like or pass him/her).
Returns the current Facebook token being used;
Returns the current Facebook id being used;
Distributed according to GNU GPL and CPAN Terms and Conditions. You may re-use and publish the code, but you have to mention the original AUTHOR and CPAN repo. You may NOT sell this module.