Follow or create friend

Apr 15, 2015 at 2:33 PM
Hi ,
How could i follow friend or user from my application using tweetinvi. please guide me.

Thanks
Viswadattu
Coordinator
Apr 15, 2015 at 9:48 PM
Hi,

You want to use the following code:
var user = User.GetLoggedUser();
var userToFollow = User.GetUserFromScreenName("tweetinviapi");
user.FollowUser(userToFollow);
Linvi
Marked as answer by linvi on 4/16/2015 at 3:12 AM
Apr 16, 2015 at 5:12 AM
Edited Apr 16, 2015 at 5:31 AM
Thanks a lot