Invalid credentials when log in with twitter provider
A
Alexandre Leuliet
started a topic
over 5 years ago
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.
Alexandre Leuliet
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