Getting Twitter Access Secret using DotNetOpenAuth in MVC4

后端 未结 4 1877
一生所求
一生所求 2021-01-06 16:22

I\'m creating an app with MVC4 that will authorize users using Twitter and lets them tweet from the app as well. I\'m able to get the user authenticated without a problem us

4条回答
  •  情歌与酒
    2021-01-06 16:42

    You can extract the oauth_token_secret from OAuthWebSecurity by designing your own TokenManager. You can register the token manager when you register your Twitter client in OAuthWebSecurity.RegisterClient.

    I used this method to extract the needed values to be able to bypass the authorization step of the Linq-to-Twitter lib.

    I will soon post my solution at my blog.

提交回复
热议问题