/// <summary> /// Follow Twitter User /// </summary> /// <param name="twitterUser">Twitter UserName And Password</param> /// <param name="UserToFollow">ScreenName Of Whom You Want To Follow</param> /// <returns>Returm True Follow Is Success</returns> public bool FollowUser(TwitterUser twitterUser, int UserToFollow) { try { Twitter.Core.FriendshipMethods.Friendship friendship = new GlobusTwitterLib.Twitter.Core.FriendshipMethods.Friendship(); xmlResult = friendship.Friendships_Create(twitterUser, UserToFollow); return(true); } catch { return(false); } }
/// <summary> /// Follow Twitter User /// </summary> /// <param name="twitterUser">Twitter UserName And Password</param> /// <param name="UserToFollow">ScreenName Of Whom You Want To Follow</param> /// <returns>Returm True Follow Is Success</returns> public bool FollowUser(TwitterUser twitterUser, int UserToFollow) { try { Twitter.Core.FriendshipMethods.Friendship friendship = new GlobusTwitterLib.Twitter.Core.FriendshipMethods.Friendship(); xmlResult = friendship.Friendships_Create(twitterUser, UserToFollow); return true; } catch { return false; } }
/// <summary> /// Follow Twitter User /// </summary> /// <param name="oAuth">OAuth Keys Token, TokenSecret, ConsumerKey, ConsumerSecret</param> /// <param name="UserToFollow">ScreenName Of Whom You Want To Follow</param> /// <returns>Returm True Follow Is Success</returns> public bool FollowUser(oAuthTwitter oAuth, int UserToFollow) { Twitter.Core.FriendshipMethods.Friendship friendship = new GlobusTwitterLib.Twitter.Core.FriendshipMethods.Friendship(); xmlResult = friendship.Friendships_Create(oAuth, UserToFollow); return(true); }
/// <summary> /// Follow Twitter User /// </summary> /// <param name="oAuth">OAuth Keys Token, TokenSecret, ConsumerKey, ConsumerSecret</param> /// <param name="UserToFollow">ScreenName Of Whom You Want To Follow</param> /// <returns>Returm True Follow Is Success</returns> public bool FollowUser(oAuthTwitter oAuth, string UserToFollow, SortedDictionary <string, string> strdic) { Twitter.Core.FriendshipMethods.Friendship friendship = new GlobusTwitterLib.Twitter.Core.FriendshipMethods.Friendship(); xmlResult = friendship.Friendships_Create(oAuth, UserToFollow, strdic); return(true); }
/// <summary> /// Follow Twitter User /// </summary> /// <param name="oAuth">OAuth Keys Token, TokenSecret, ConsumerKey, ConsumerSecret</param> /// <param name="UserToFollow">ScreenName Of Whom You Want To Follow</param> /// <returns>Returm True Follow Is Success</returns> public bool FollowUser(oAuthTwitter oAuth, int UserToFollow) { Twitter.Core.FriendshipMethods.Friendship friendship = new GlobusTwitterLib.Twitter.Core.FriendshipMethods.Friendship(); xmlResult = friendship.Friendships_Create(oAuth, UserToFollow); return true; }
/// <summary> /// Follow Twitter User /// </summary> /// <param name="oAuth">OAuth Keys Token, TokenSecret, ConsumerKey, ConsumerSecret</param> /// <param name="UserToFollow">ScreenName Of Whom You Want To Follow</param> /// <returns>Returm True Follow Is Success</returns> public bool FollowUser(oAuthTwitter oAuth, string UserToFollow, SortedDictionary<string, string> strdic) { Twitter.Core.FriendshipMethods.Friendship friendship = new GlobusTwitterLib.Twitter.Core.FriendshipMethods.Friendship(); xmlResult = friendship.Friendships_Create(oAuth, UserToFollow,strdic); return true; }