开发者

tweetsharp logout

开发者 https://www.devze.com 2023-02-20 02:48 出处:网络
Does anyone know how to log a user out of Twitter using Tweetsharp? I am using svc.EndSession(); where svc is a TwitterService object.

Does anyone know how to log a user out of Twitter using Tweetsharp?

I am using svc.EndSession(); where svc is a TwitterService object.

However the user (me) stays logged in. A quick refresh of Twitter.com shows that I am still logged-in even after hitting the logout button (and running svc.EndSession();) on my a开发者_开发百科sp.net app.

Hope someone can help, thanks.


I am not familiar with Tweetsharp, but it seems, that Twitter is holding control over logged in users in a cookie they own. An answer posted to this question on SO states some workaround using the /oauth/authorize instead of /oauth/authenticate path. Don't know for sure, if that helps you as you are using Tweetsharp.

0

精彩评论

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