This code sample will demonstrate how you can get list of people who are following you on twitter using Twitter REST API. The reason I mentioned "following you" because this API requires authentication. So unless you have credentials of other users, you can execute this API against the authenticated user account only.
static void GetMyFollowers()
{
IFluentTwitter ft = FluentTwitter.CreateRequest();
ft.AuthenticateAs(LOGIN_NAME, PASSWORD);
ft.Users().GetFollowers().AsJson();
var resp = ft.Request();
if (null != resp)
{
var users = resp.AsUsers();
if (null != users)
{
foreach (TwitterUser user in users)
{
Console.WriteLine("User Id: {0}, Screen Name: {1}", user.Id, user.ScreenName);
}
}
}
}
Get list of people you are following on twitter
0x1F is an invalid start of a value
Learn Python: How to ignore SSL verification for HTTP requests
How to host your web site from your home
Automate testing of web page element transition with Selenium
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