MGTwitterEngine for Iphone Authentication xAuth oAuth

☆樱花仙子☆ 提交于 2019-12-14 03:17:08

问题


All I am try to integrate twitter in Iphone application As twiiter not allow the xAuth by default then How show I use it.. When will twitter approve xAuth for my application. As now it is in developing stage

AND one more thing

I have add the oAuthConsumer file in my application with MGTwitterEngine then how I call the oAuth.

Now I am calling like that

twitterEngine = [[MGTwitterEngine alloc] initWithDelegate:self];
[twitterEngine setUsesSecureConnection:NO];
[twitterEngine setConsumerKey:consumerKey secret:consumerSecret];
[twitterEngine setUsername:username];
[twitterEngine getXAuthAccessTokenForUsername:username password:password];

But it is xAuth method

Please help me

Amit Battan


回答1:


for oAuth I have use https://github.com/bengottlieb/Twitter-OAuth-iPhone

and for xAuth we have to request twitter for it. and it is after releasing the application on Apple store



来源:https://stackoverflow.com/questions/5155095/mgtwitterengine-for-iphone-authentication-xauth-oauth

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