ShelbyTV / shelby_gt

Rails API services for Shelby GT
2 stars 0 forks source link

Facebook Token is not getting saved #199

Closed kepsolution closed 11 years ago

kepsolution commented 11 years ago

How to reproduce:

spinosa commented 11 years ago

related routes from iOS code:

/// POST 3rd Party Token
#define kShelbyAPIPostThirdPartyToken           @"http://api.shelby.tv/v1/token?provider_name=%@&uid=%@&token=%@&secret=%@"
#define kShelbyAPIPostThirdPartyTokenNoSecret   @"http://api.shelby.tv/v1/token?provider_name=%@&uid=%@&token=%@"
spinosa commented 11 years ago

From the documentation on this route: "If given credentials are valid, but don't match any user, a new User will be created." I'm pretty sure that's what's happening...


user with nickname martha has id 512d0686b415cc1fc004f91c

@kepsolution what is the raw JSON response you are getting?