Kestrel Hosted Blazor WASM / LINQ To Twitter OAuth2 Sample
Joe Mayo's Linq To Twitter OAuth2 blog post
For this sample to work you'll need to add the file /Server/twitterkeys.ini
which is called in /Server/Program.cs
(line 5-13) and sets the TwitterClientID
& TwitterClientSecret
enviroment variables.
TwitterClientID="Your Twitter Client ID"
TwitterClientSecret="Your Twitter Client Secret"
You can obtain your Twitter OAuth2 Client ID & Client Secret at developer.twitter.com
Also at developer.twitter.com set your 'User authentication settings' to:
- Enable 'OAuth2'
- Type of App: 'Web App'
- Twitter Callback URI / Redirect URL:
https://127.0.0.1/OAuth2/Complete
Notable files:
-
Client:
-
Server:
-
Shared