public static async Task <IEnumerable <ITweet> > GetHomeTimeline(IHomeTimelineParameters timelineParameters) { return(await Sync.ExecuteTaskAsync(() => Timeline.GetHomeTimeline(timelineParameters))); }
// Create List public static async Task <ITweetList> CreateList(string name, PrivacyMode privacyMode, string description = null) { return(await Sync.ExecuteTaskAsync(() => TweetList.CreateList(name, privacyMode, description))); }
public static async Task <ITweetList> UpdateList(long listId, IListUpdateParameters parameters) { return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(listId, parameters))); }
public static async Task <ITweetList> GetExistingList(string slug, IUserIdentifier userDTO) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(slug, userDTO))); }
public static async Task <IEnumerable <ITweetList> > GetUserLists(IUserIdentifier userDTO, bool getOwnedListsFirst) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetUserLists(userDTO, getOwnedListsFirst))); }
public static async Task <IEnumerable <ITweet> > GetTweetsFromList(string slug, long ownerId) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(slug, ownerId))); }
public static async Task <IEnumerable <IUser> > GetMembersOfList(string slug, long ownerId, int maxNumberOfUsersToRetrieve = 100) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetMembersOfList(slug, ownerId, maxNumberOfUsersToRetrieve))); }
public static async Task <IRelationshipDetails> GetRelationshipDetailsBetween(long sourceUserId, long targetUserId) { return(await Sync.ExecuteTaskAsync(() => Friendship.GetRelationshipDetailsBetween(sourceUserId, targetUserId))); }
public static async Task <IRelationshipDetails> GetRelationshipDetailsBetween(string sourceUserScreenName, string targetUserScreenName) { return(await Sync.ExecuteTaskAsync(() => Friendship.GetRelationshipDetailsBetween(sourceUserScreenName, targetUserScreenName))); }
// Mention Timeline public static async Task <IEnumerable <IMention> > GetMentionsTimeline(int maximumTweets = 40) { return(await Sync.ExecuteTaskAsync(() => Timeline.GetMentionsTimeline(maximumTweets))); }
public static async Task <IEnumerable <IMention> > GetMentionsTimeline(IMentionsTimelineParameters timelineParameters) { return(await Sync.ExecuteTaskAsync(() => Timeline.GetMentionsTimeline(timelineParameters))); }
public static async Task <IEnumerable <ITweet> > GetUserTimeline(IUserIdentifier userIdentifier, IUserTimelineParameters timelineParameters) { return(await Sync.ExecuteTaskAsync(() => Timeline.GetUserTimeline(userIdentifier, timelineParameters))); }
public static async Task <IEnumerable <ITweet> > GetUserTimeline(string userScreenName, int maximumTweets = 40) { return(await Sync.ExecuteTaskAsync(() => Timeline.GetUserTimeline(userScreenName, maximumTweets))); }
public static async Task <IEnumerable <ITweet> > GetUserTimeline(IUserIdentifier userIdentifier, int maximumTweets = 40) { return(await Sync.ExecuteTaskAsync(() => Timeline.GetUserTimeline(userIdentifier, maximumTweets))); }
public static async Task <IEnumerable <ITweet> > GetTweetsFromList(long listId) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(listId))); }
// Get Relationship Between public static async Task <IRelationshipDetails> GetRelationshipDetailsBetween(IUserIdentifier sourceUserIdentifier, IUserIdentifier targetUserIdentifier) { return(await Sync.ExecuteTaskAsync(() => Friendship.GetRelationshipDetailsBetween(sourceUserIdentifier, targetUserIdentifier))); }
public static async Task <IEnumerable <ITweet> > GetTweetsFromList(string slug, IUserIdentifier ownerDTO) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(slug, ownerDTO))); }
public static async Task <string> GetTwitterPrivacyPolicy() { return(await Sync.ExecuteTaskAsync(() => Help.GetTwitterPrivacyPolicy())); }
public static async Task <IEnumerable <IUser> > GetMembersOfList(ITweetListDTO tweetListDTO, int maxNumberOfUsersToRetrieve = 100) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetMembersOfList(tweetListDTO, maxNumberOfUsersToRetrieve))); }
public static async Task <bool> DestroyList(ITweetListDTO tweetListDTO) { return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(tweetListDTO))); }
public static async Task <ITweetList> GetExistingList(long listId) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(listId))); }
public static async Task <bool> DestroyList(long listId) { return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(listId))); }
public static async Task <ITweetList> GetExistingList(string slug, string userScreenName) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(slug, userScreenName))); }
public static async Task <bool> DestroyList(string slug, IUserDTO ownerDTO) { return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(slug, ownerDTO))); }
public static async Task <IEnumerable <ITweetList> > GetUserLists(string userScreenName, bool getOwnedListsFirst) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetUserLists(userScreenName, getOwnedListsFirst))); }
public static async Task <bool> DestroyList(string slug, string ownerScreenName) { return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(slug, ownerScreenName))); }
public static async Task <ITweetList> UpdateList(ITweetListDTO tweetListDTO, IListUpdateParameters parameters) { return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(tweetListDTO, parameters))); }
public static async Task <IEnumerable <ITweet> > GetTweetsFromList(ITweetListDTO tweetListDTO) { return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(tweetListDTO))); }
public static async Task <ITweetList> UpdateList(string slug, IUser owner, IListUpdateParameters parameters) { return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(slug, owner, parameters))); }
public static async Task <ISavedSearch> CreateSavedSearch(string query) { return(await Sync.ExecuteTaskAsync(() => SavedSearch.CreateSavedSearch(query))); }