Sign in Quickblox using twitter gives Bad Authentication Data error

社会主义新天地 提交于 2019-12-06 11:41:48

问题


i have successfully Signed in using facebook but when i tried twitter it says Bad Authentication request. I have orivided both Access token and Secret key. Heres code snippet

QBASessionCreationRequest *extendedAuthRequest = [QBASessionCreationRequest request];
extendedAuthRequest.socialProvider = socialProvider;
extendedAuthRequest.socialProviderAccessToken = @"ACCESS_TOKEN";
extendedAuthRequest.socialProviderAccessTokenSecret = @"ACCESS_TOKEN_SECRET";

[QBAuth createSessionWithExtendedRequest:extendedAuthRequest delegate:self];

回答1:


Are you set API KEY, API SECRET and callback for your app? http://quickblox.com/developers/Social_Networks_Integration_Manual

I have same error while don't read this article.



来源:https://stackoverflow.com/questions/21803225/sign-in-quickblox-using-twitter-gives-bad-authentication-data-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!