Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reddit killed Search that RedditSharp uses #171

Open
Clueless4ever opened this issue Apr 17, 2018 · 3 comments
Open

Reddit killed Search that RedditSharp uses #171

Clueless4ever opened this issue Apr 17, 2018 · 3 comments

Comments

@Clueless4ever
Copy link

In Things/Subreddit.cs:
public Listing Search(DateTime from, DateTime to, Sorting sortE = Sorting.New, int max = -1)
{
}

This function will return Error 503 from now on, because reddit killed the search method.
See annoucement:
https://www.reddit.com/r/changelog/comments/7tus5f/update_to_search_api/

@Clueless4ever
Copy link
Author

Clueless4ever commented Apr 29, 2018 via email

@joshjonesdev
Copy link

joshjonesdev commented Apr 29, 2018 via email

@jeffward01
Copy link

is this working for anyone? I cannot get my search to work

     await foreach (var page in subreddit.Search("usa").Take(10).WithCancellation(killMounger.Token))
                {
                    System.Console.WriteLine("AuthorName: {0} -- Karma on Post: {1}", page.AuthorName, page.Score);
                }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants