Thanks for providing this information.
Indeed, the request made to the API seems correct. What it appears to be a concern is that both the FB and Twitter tokens appear to be very short in terms of length (I do understand that you edited the body of the token). This leads me to believe, that the token was not properly obtained hence the error.
We'd like to ask you to:
- Check your Facebook app with the Friends
sample application. To do this, just map the values in the FB settings in app/settings.js with your FB APP ID.
- Test the Twitter authentication - use the Access Token and Access Token secret for your app located under the https://apps.twitter.com/
settings and call el.Users.loginWithTwitter(accessToken, tokenSecret, cb, ecb);
with this hard-coded parameters.
The above steps are needed in order to ensure that the API for social login of users works properly for you.
I am afraid that until we are able to reproduce the issue locally we could not be of any further guidance. That is why I'd suggest that you submit a private support ticket (under the Almir Music account) and provide a runnable sample that illustrates the issue. The crucial in this case would be to scrutinize the logic that obtains a token on behalf the user after the user consent is granted.
I look forward to your reply.