Ejemplo n.º 1
0
 public static async Task <IEnumerable <ITweet> > GetHomeTimeline(IHomeTimelineParameters timelineParameters)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetHomeTimeline(timelineParameters)));
 }
Ejemplo n.º 2
0
 // Create List
 public static async Task <ITweetList> CreateList(string name, PrivacyMode privacyMode, string description = null)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.CreateList(name, privacyMode, description)));
 }
Ejemplo n.º 3
0
 public static async Task <ITweetList> UpdateList(long listId, IListUpdateParameters parameters)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(listId, parameters)));
 }
Ejemplo n.º 4
0
 public static async Task <ITweetList> GetExistingList(string slug, IUserIdentifier userDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(slug, userDTO)));
 }
Ejemplo n.º 5
0
 public static async Task <IEnumerable <ITweetList> > GetUserLists(IUserIdentifier userDTO, bool getOwnedListsFirst)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetUserLists(userDTO, getOwnedListsFirst)));
 }
Ejemplo n.º 6
0
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(string slug, long ownerId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(slug, ownerId)));
 }
Ejemplo n.º 7
0
 public static async Task <IEnumerable <IUser> > GetMembersOfList(string slug, long ownerId, int maxNumberOfUsersToRetrieve = 100)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetMembersOfList(slug, ownerId, maxNumberOfUsersToRetrieve)));
 }
Ejemplo n.º 8
0
 public static async Task <IRelationshipDetails> GetRelationshipDetailsBetween(long sourceUserId, long targetUserId)
 {
     return(await Sync.ExecuteTaskAsync(() => Friendship.GetRelationshipDetailsBetween(sourceUserId, targetUserId)));
 }
Ejemplo n.º 9
0
 public static async Task <IRelationshipDetails> GetRelationshipDetailsBetween(string sourceUserScreenName, string targetUserScreenName)
 {
     return(await Sync.ExecuteTaskAsync(() => Friendship.GetRelationshipDetailsBetween(sourceUserScreenName, targetUserScreenName)));
 }
Ejemplo n.º 10
0
 // Mention Timeline
 public static async Task <IEnumerable <IMention> > GetMentionsTimeline(int maximumTweets = 40)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetMentionsTimeline(maximumTweets)));
 }
Ejemplo n.º 11
0
 public static async Task <IEnumerable <IMention> > GetMentionsTimeline(IMentionsTimelineParameters timelineParameters)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetMentionsTimeline(timelineParameters)));
 }
Ejemplo n.º 12
0
 public static async Task <IEnumerable <ITweet> > GetUserTimeline(IUserIdentifier userIdentifier, IUserTimelineParameters timelineParameters)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetUserTimeline(userIdentifier, timelineParameters)));
 }
Ejemplo n.º 13
0
 public static async Task <IEnumerable <ITweet> > GetUserTimeline(string userScreenName, int maximumTweets = 40)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetUserTimeline(userScreenName, maximumTweets)));
 }
Ejemplo n.º 14
0
 public static async Task <IEnumerable <ITweet> > GetUserTimeline(IUserIdentifier userIdentifier, int maximumTweets = 40)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetUserTimeline(userIdentifier, maximumTweets)));
 }
Ejemplo n.º 15
0
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(long listId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(listId)));
 }
Ejemplo n.º 16
0
 // Get Relationship Between
 public static async Task <IRelationshipDetails> GetRelationshipDetailsBetween(IUserIdentifier sourceUserIdentifier, IUserIdentifier targetUserIdentifier)
 {
     return(await Sync.ExecuteTaskAsync(() => Friendship.GetRelationshipDetailsBetween(sourceUserIdentifier, targetUserIdentifier)));
 }
Ejemplo n.º 17
0
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(string slug, IUserIdentifier ownerDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(slug, ownerDTO)));
 }
Ejemplo n.º 18
0
 public static async Task <string> GetTwitterPrivacyPolicy()
 {
     return(await Sync.ExecuteTaskAsync(() => Help.GetTwitterPrivacyPolicy()));
 }
Ejemplo n.º 19
0
 public static async Task <IEnumerable <IUser> > GetMembersOfList(ITweetListDTO tweetListDTO, int maxNumberOfUsersToRetrieve = 100)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetMembersOfList(tweetListDTO, maxNumberOfUsersToRetrieve)));
 }
Ejemplo n.º 20
0
 public static async Task <bool> DestroyList(ITweetListDTO tweetListDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(tweetListDTO)));
 }
Ejemplo n.º 21
0
 public static async Task <ITweetList> GetExistingList(long listId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(listId)));
 }
Ejemplo n.º 22
0
 public static async Task <bool> DestroyList(long listId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(listId)));
 }
Ejemplo n.º 23
0
 public static async Task <ITweetList> GetExistingList(string slug, string userScreenName)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(slug, userScreenName)));
 }
Ejemplo n.º 24
0
 public static async Task <bool> DestroyList(string slug, IUserDTO ownerDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(slug, ownerDTO)));
 }
Ejemplo n.º 25
0
 public static async Task <IEnumerable <ITweetList> > GetUserLists(string userScreenName, bool getOwnedListsFirst)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetUserLists(userScreenName, getOwnedListsFirst)));
 }
Ejemplo n.º 26
0
 public static async Task <bool> DestroyList(string slug, string ownerScreenName)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(slug, ownerScreenName)));
 }
Ejemplo n.º 27
0
 public static async Task <ITweetList> UpdateList(ITweetListDTO tweetListDTO, IListUpdateParameters parameters)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(tweetListDTO, parameters)));
 }
Ejemplo n.º 28
0
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(ITweetListDTO tweetListDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(tweetListDTO)));
 }
Ejemplo n.º 29
0
 public static async Task <ITweetList> UpdateList(string slug, IUser owner, IListUpdateParameters parameters)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(slug, owner, parameters)));
 }
Ejemplo n.º 30
0
 public static async Task <ISavedSearch> CreateSavedSearch(string query)
 {
     return(await Sync.ExecuteTaskAsync(() => SavedSearch.CreateSavedSearch(query)));
 }