logout from Twitter in iPhone using OAuth+MGTwitterEngine Library

后端 未结 7 2198
逝去的感伤
逝去的感伤 2020-12-17 05:05

I had made the twitter application using the OAuth and MGTwitterEngine Library. The login phase is working fine but I am facing problem in logout. I had referred all the pos

7条回答
  •  庸人自扰
    2020-12-17 06:08

    Did anyone ever find the solution for this? If so, please post!

    UPDATE: I figured it out. In the MGTwitterEngine.m, search for _clearCookies in initWithDelegate method. This is currently set to NO, change it to YES. In your action method for logging out the current user, call [_engine clearAccessToken]. Now run it, and voila, it works!

提交回复
热议问题