You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: ReadMe.md
+17-21
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
3
3
LINQ to Twitter is an open source 3rd party LINQ Provider (Twitter Library) for the [Twitter](https://twitter.com/) micro-blogging service. It uses standard LINQ syntax for queries and includes method calls for changes via the [Twitter API](https://dev.twitter.com/).
4
4
5
-
> Please take the LINQ to Twitter Survey at [https://bit.ly/2Luzbpt](https://bit.ly/2Luzbpt).
@@ -12,22 +10,22 @@ LINQ to Twitter is an open source 3rd party LINQ Provider (Twitter Library) for
12
10
13
11
The following query returns search results where people are tweeting about LINQ to Twitter:
14
12
```C#
15
-
vartwitterCtx=newTwitterContext(...);
16
-
17
-
varsearchResponse=
18
-
await
19
-
(fromsearchintwitterCtx.Search
20
-
wheresearch.Type==SearchType.Search&&
21
-
search.Query=="\"LINQ to Twitter\""
22
-
selectsearch)
23
-
.SingleOrDefaultAsync();
24
-
25
-
if (searchResponse!=null&&searchResponse.Statuses!=null)
26
-
searchResponse.Statuses.ForEach(tweet=>
27
-
Console.WriteLine(
28
-
"User: {0}, Tweet: {1}",
29
-
tweet.User.ScreenNameResponse,
30
-
tweet.Text));
13
+
vartwitterCtx=newTwitterContext(...);
14
+
15
+
varsearchResponse=
16
+
await
17
+
(fromsearchintwitterCtx.Search
18
+
wheresearch.Type==SearchType.Search&&
19
+
search.Query=="\"LINQ to Twitter\""
20
+
selectsearch)
21
+
.SingleOrDefaultAsync();
22
+
23
+
if (searchResponse!=null&&searchResponse.Statuses!=null)
24
+
searchResponse.Statuses.ForEach(tweet=>
25
+
Console.WriteLine(
26
+
"User: {0}, Tweet: {1}",
27
+
tweet.User.ScreenNameResponse,
28
+
tweet.Text));
31
29
```
32
30
From a coding experience perspective, the `TwitterContext` type is analogous to the Entity Framework `DBContext`. You use the `TwitterContext` instance, `twitterCtx`, to access `IQueryable<T>` tweet categories. In the example above, the `Search` will give you the ability to search Twitter for tweets meeting some criteria.
33
31
@@ -46,11 +44,9 @@ In addition to being able to download from this site, you can also automatically
46
44
47
45
## Available Feature Set
48
46
49
-
See [Making API Calls](https://github.com/JoeMayo/LinqToTwitter/wiki/Making-API-Calls).
47
+
See [LINQ to Twitter v6 APIs]https://www.linqtotwitter.com/LINQ-to-Twitter-v6.html).
50
48
51
49
## For more info:
52
50
53
51
* follow [@JoeMayo](https://twitter.com/JoeMayo) for releases and related blog posts.
54
52
* follow [@Linq2Twitr](https://twitter.com/Linq2Twitr) for more detailed project information.
55
-
56
-
> Please take the LINQ to Twitter Survey at [https://bit.ly/2Luzbpt](https://bit.ly/2Luzbpt).
Copy file name to clipboardexpand all lines: src/LinqToTwitter6/LinqToTwitter.AspNet/LinqToTwitter.AspNet.csproj
+3-3
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
<PropertyGroup>
4
4
<TargetFramework>net5.0</TargetFramework>
5
-
<Version>6.11.0</Version>
5
+
<Version>6.12.0</Version>
6
6
<Authors>Joe Mayo</Authors>
7
7
<Company>Joe Mayo</Company>
8
8
<Product>LINQ to Twitter for ASP.NET</Product>
@@ -19,8 +19,8 @@ This library has ASP.NET authorizers and SessionStateCredentialCache that you'll
19
19
<PackageReleaseNotes>
20
20
Note: In previous versions of LINQ to Twitter, this was included in the `linqtotwitter` package. In version 6, ASP.NET Core 5 support is a separate package with a dependency on `linqtotwitter` v6.0+.
21
21
22
-
- Added OAuth 2.0 Support, including a new MvcOAuth2Authorizer and OAuth2SessionStateCredentialStore.
23
-
- Fixed a bug with SessionStateCredentialStore.ClearAsync that prevented it from working.
22
+
- Added default desktop support for AuthorizeAsync in OAuth2Authorizer.
23
+
- Fixed bug in OAuth2Authorizer so that confidential clients now work properly.
0 commit comments