This project has moved and is read-only. For the latest updates, please go here.

Getting a List of Saved Searches

Get a list of saved searches.

Entity: SavedSearch
Type: SavedSearchType.Searches
Parameters/Filters:
None
v3.0 Example:
            var savedSearches =
                await
                    (from search in twitterCtx.SavedSearch
                     where search.Type == SavedSearchType.Searches
                     select search)
                    .ToListAsync();

            if (savedSearches != null)
                savedSearches.ForEach(
                    search => Console.WriteLine("Search: " + search.Query));
v2.1 Example:
            var savedSearches =
                from search in twitterCtx.SavedSearch
                where search.Type == SavedSearchType.Searches
                select search;

            foreach (var search in savedSearches)
            {
                Console.WriteLine("ID: {0}, Search: {1}", search.ID, search.Name);
            }

Twitter API: saved_searches/list

Last edited Nov 29, 2013 at 4:38 AM by JoeMayo, version 7