开发者

signout out of twitter using Twitter4j

开发者 https://www.devze.com 2023-01-22 00:25 出处:网络
Hi: Is there anyway my SignoutServlet can sign out of Twitter too ?开发者_如何学C I am using something like this

Hi: Is there anyway my SignoutServlet can sign out of Twitter too ?

开发者_如何学C

I am using something like this

    public void doGet(HTTPServletReq req, HTTPServletRes res) throws TwitterException,ServletException
{
   request.getSession(false).invalidate();

}

My question is even when I am invalidating the session, my application doesnt log out of Twitter.

Any clues/ideas of how to log out of Twitter from Twitter4j?

Thanks!


for signout to twitter just delete the credentials. means delete the access token simple.

0

精彩评论

暂无评论...
验证码 换一张
取 消