Exemplo n.º 1
0
        public TweetCollection FetchByScreenName(string screenName, int max)
        {
            Logger.Log("FetchByScreenName: " + screenName, System.Diagnostics.TraceEventType.Information);
            var collection = new TweetCollection();

            collection.Add(new Tweet()
            {
                TweetID         = 1,
                LocationText    = "Milwaukee, WI",
                ProfileImageUrl = String.Empty,
                ScreenName      = screenName,
                TweetText       = "First tweet!",
                TweetCreated    = DateTime.Now.AddMinutes(-10)
            });
            collection.Add(new Tweet()
            {
                TweetID         = 1,
                LocationText    = "Milwaukee, WI",
                ProfileImageUrl = String.Empty,
                ScreenName      = screenName,
                TweetText       = "Second tweet!",
                TweetCreated    = DateTime.Now.AddMinutes(-5)
            });
            return(collection);
        }
Exemplo n.º 2
0
        public TweetCollection SearchByLocation(string keyword, int max, int kilometers, double latitude, double longitude)
        {
            var collection = new TweetCollection();

            return(collection);
        }