Start a new topic

Invalid credentials when log in with twitter provider

I am able to get the access_token and the access_token_secret from a twitter account, however when I try to use the angularJS method $kinvey.User.loginWithProvider('twitter', tokens), I can't figure out what should I write in the tokens JSON. It worked well with facebook as the tokens were :

var tokens = {

access_token: '',

expires_in: ''


but with twitter I obtain an "invalidredentials" each time.

I also tried to configure the business logic so that I can use the $kinvey.Social.connect(null, 'twitter') method, it works well in the browser but opens an empty page in an iPhone.

Thank you

Login or Signup to post a comment