Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Squidex/squidex-samples
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Apr 8, 2022
2 parents 44a644b + 7617392 commit 4c1b87a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cli/Squidex.CLI/Squidex.CLI/Commands/App_Twitter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,14 @@ public async Task Auth(AuthArguments arguments)
public async Task Token(TokenArguments arguments)
{
var requestToken = ReadToken(arguments.RequestToken, ".twitterToken", nameof(arguments.RequestToken));

var requestTokenSecret = ReadToken(arguments.RequestTokenSecret, ".twitterSecret", nameof(arguments.RequestTokenSecret));
var requestSecret = ReadToken(arguments.RequestTokenSecret, ".twitterSecret", nameof(arguments.RequestTokenSecret));

var session = new OAuth.OAuthSession
{
ConsumerKey = arguments.ClientId,
ConsumerSecret = arguments.ClientSecret,
RequestToken = requestToken,
RequestTokenSecret = requestTokenSecret
RequestTokenSecret = requestSecret
};

var tokens = await session.GetTokensAsync(arguments.PinCode);
Expand Down

0 comments on commit 4c1b87a

Please sign in to comment.