This code snippet will demonstrate how you can add a twitter user to your follow list. This is called adding a user to your friends list.
static void AddToFollow(string userName)
{
IFluentTwitter ft = FluentTwitter.CreateRequest();
ft.AuthenticateAs(LOGIN_NAME, PASSWORD);
ft.Friendships().Befriend(userName);
var resp = ft.Request();
if (null != resp)
{
TwitterUser user = resp.AsUser();
if (null != user)
{
Console.WriteLine("User {0} added to follow list", user.ScreenName);
}
}
}
On successful execution of request, API returns details of the user that you added to your friend list.
Connecting to MongoDB from remote client machine
Must have Whiteboard for your desk
Parse RedisTimeoutException Exception Details
0x1F is an invalid start of a value
Learn Python: How to ignore SSL verification for HTTP requests
Alert and Confirm pop up using BootBox in AngularJS
AngularJS Grouped Bar Chart and Line Chart using D3
How to lock and unlock account in Asp.Net Identity provider
2022 © Byteblocks, ALL Rights Reserved. Privacy Policy | Terms of Use