Web Developement
Now Reading
Get Twitter Followers Using C# and V 1.1 of the Twitter API

Get Twitter Followers Using C# and V 1.1 of the Twitter API

by Adrian RandallDecember 23, 2015

This is a simple guide on how to get just the Twitter followers for an account using V1.1 of the Twitter API in C#.


1. Get Twitter API Details:

Firstly go to the Twitter apps area and create a new app:


2. Copy the following code as a new method in your C# project

3. Copy you Twitter Application details into the code provided.

You’ll need 4 pieces of information from your “Keys and Access Tokens” of the new app you created for Twitter:

  • Consumer Key

  • Consumer Secret (API Secret)

– Access Token

– Access Token Secret

The last two may require you to create a new Access token on the same tab. Paste these in on the first few lines of the code provided where it has been labelled with ‘xxxx’.

4. Set Twitter Handle of the Account you want the followers for:

In the code above change ‘callmerandall’ to the Twitter username for the account you want to get the followers for.

4. Install Newtonsoft JSON if you haven’t already

Install-Package Newtonsoft.Json (I’m using .NET 4.5 and VS 2015 Community)


Call the method and you’ll get a single value back with the Twitter count.

About The Author
Adrian Randall
I'm a digital marketing specialist, love working on digital business and coding on just about anything. I'm the founder of Arcadian Digital and this site shares some of our knowledge and practices.

Leave a Response