{"id":21973544,"url":"https://github.com/jeepnl/linq_to_twitter_oauth2_sample","last_synced_at":"2026-05-09T15:33:17.268Z","repository":{"id":167577439,"uuid":"451927500","full_name":"JeepNL/LINQ_To_Twitter_OAuth2_Sample","owner":"JeepNL","description":"Twitter OAuth2 authentication Blazor WASM sample with Joe Mayo's Linq To Twitter C# Library","archived":false,"fork":false,"pushed_at":"2022-04-17T19:46:03.000Z","size":642,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T23:27:17.605Z","etag":null,"topics":["blazor","c-sharp","csharp","linq2twitter","linqtotwitter","twitter","wasm","webassembly"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JeepNL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-25T15:15:18.000Z","updated_at":"2022-07-11T13:26:08.000Z","dependencies_parsed_at":"2023-05-23T04:00:14.829Z","dependency_job_id":null,"html_url":"https://github.com/JeepNL/LINQ_To_Twitter_OAuth2_Sample","commit_stats":null,"previous_names":["jeepnl/linq_to_twitter_oauth2_sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JeepNL/LINQ_To_Twitter_OAuth2_Sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeepNL%2FLINQ_To_Twitter_OAuth2_Sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeepNL%2FLINQ_To_Twitter_OAuth2_Sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeepNL%2FLINQ_To_Twitter_OAuth2_Sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeepNL%2FLINQ_To_Twitter_OAuth2_Sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeepNL","download_url":"https://codeload.github.com/JeepNL/LINQ_To_Twitter_OAuth2_Sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeepNL%2FLINQ_To_Twitter_OAuth2_Sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32824353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blazor","c-sharp","csharp","linq2twitter","linqtotwitter","twitter","wasm","webassembly"],"created_at":"2024-11-29T15:33:13.230Z","updated_at":"2026-05-09T15:33:17.249Z","avatar_url":"https://github.com/JeepNL.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Kestrel Hosted Blazor WASM / [LINQ To Twitter](https://github.com/JoeMayo/LinqToTwitter) OAuth2 Sample ###\n\n[Joe Mayo](https://github.com/JoeMayo)'s Linq To Twitter [OAuth2 blog post](https://joemayo.medium.com/using-oauth-2-0-with-linq-to-twitter-eac6d9035084)\n\n![Screenshot](img/lt2oauth2a.png)\n\nFor 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` \u0026 `TwitterClientSecret` enviroment variables.\n\n    TwitterClientID=\"Your Twitter Client ID\"\n    TwitterClientSecret=\"Your Twitter Client Secret\"\n\nYou can obtain your Twitter OAuth2 Client ID \u0026 Client Secret at [developer.twitter.com](https://developer.twitter.com/)\n\nAlso at [developer.twitter.com](https://developer.twitter.com/) set your 'User authentication settings' to:\n\n * Enable 'OAuth2'\n * Type of App: 'Web App'\n * Twitter Callback URI / Redirect URL: `https://127.0.0.1/OAuth2/Complete`\n\n**Notable files:**\n\n  * Client:\n    * [Client/LINQ_To_Twitter_OAuth2_Sample.Client.csproj](LINQ_To_Twitter_OAuth2_Sample/Client/LINQ_To_Twitter_OAuth2_Sample.Client.csproj)\n    * [Client/Program.cs](LINQ_To_Twitter_OAuth2_Sample/Client/Program.cs)\n    * [Client/Pages/Index.razor](LINQ_To_Twitter_OAuth2_Sample/Client/Pages/Index.razor)\n    * [Client/Pages/Callback.razor](LINQ_To_Twitter_OAuth2_Sample/Client/Pages/Callback.razor)\n    * [Client/Shared/MainLayout.razor](LINQ_To_Twitter_OAuth2_Sample/Client/Shared/MainLayout.razor)\n    * [Client/Models/ClientBrowserModel.cs](LINQ_To_Twitter_OAuth2_Sample/Client/Models/ClientBrowserModel.cs)\n    * [Client/Models/ClientRootModel.cs](LINQ_To_Twitter_OAuth2_Sample/Client/Models/ClientRootModel.cs)\n\n  * Server:\n    * [Client/LINQ_To_Twitter_OAuth2_Sample.Server.csproj](LINQ_To_Twitter_OAuth2_Sample/Server/LINQ_To_Twitter_OAuth2_Sample.Server.csproj)\n    * [Server/Program.cs](LINQ_To_Twitter_OAuth2_Sample/Server/Program.cs)\n    * [Server/Controllers/OAuth2Controller.cs](LINQ_To_Twitter_OAuth2_Sample/Server/Controllers/OAuth2Controller.cs)\n    * [Server/Helpers/OAuth2Helper.cs](LINQ_To_Twitter_OAuth2_Sample/Server/Helpers/OAuth2Helper.cs)\n    * [Server/Controllers/TLController.cs](LINQ_To_Twitter_OAuth2_Sample/Server/Controllers/TLController.cs)\n    * [Server/Controllers/TweetController.cs](LINQ_To_Twitter_OAuth2_Sample/Server/Controllers/TweetController.cs)\n\t\n  * Shared\n    * [Shared/LINQ_To_Twitter_OAuth2_Sample.Shared.csproj](LINQ_To_Twitter_OAuth2_Sample/Shared/LINQ_To_Twitter_OAuth2_Sample.Shared.csproj)\n    * [Shared/Models/L2TBase.cs](LINQ_To_Twitter_OAuth2_Sample/Shared/Models/L2TBase.cs)\n    * [Shared/Models/L2TTimelineRequest.cs](LINQ_To_Twitter_OAuth2_Sample/Shared/Models/L2TTimelineRequest.cs)\n\t\n---\n\n### Joe Mayo's LINQ to Twitter ASP.NET 6 OAuth2 GitHub Examples ###\n\n * [MVC](https://github.com/JoeMayo/LinqToTwitter/tree/main/Samples/LinqToTwitter6/ASP.NET/LinqToTwitter.MVC.CSharp)\n * [Console](https://github.com/JoeMayo/LinqToTwitter/tree/main/Samples/LinqToTwitter6/Console/ConsoleDemo.CSharp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeepnl%2Flinq_to_twitter_oauth2_sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeepnl%2Flinq_to_twitter_oauth2_sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeepnl%2Flinq_to_twitter_oauth2_sample/lists"}