Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3851310
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:08:33+00:00 2026-05-19T17:08:33+00:00

Basically I want to use the Twitter Users Lookup (REST API) method, this: http://apiwiki.twitter.com/w/page/24142947/Twitter-REST-API-Method:-users-lookup

  • 0

Basically I want to use the Twitter Users Lookup (REST API) method, this:
http://apiwiki.twitter.com/w/page/24142947/Twitter-REST-API-Method:-users-lookup

but just for one request, so more less manually.

When the API supported basic authentication I could just plug in my username/password and gather information about the people tweeting on a given subject/search (as to how many followers they have, location, etc – mainly for reach/ROI purposes). I would just request the XML, format it and shove it into an excel file to play with.

Since Twitter no longer supports basic authentication with this method is there another way I can manually request this information, or do I actually need to setup oAuth?

Is there another option that’s easier?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T17:08:34+00:00Added an answer on May 19, 2026 at 5:08 pm

    I use LINQPad for all of my Twitter spelunking; it’s simply one of the best tools I’ve used for exercising any code. It’s a free utility (you only have to pay if you want statement autocompletion and some other nifty features, but you don’t need them). If you don’t run Windows then this won’t be of much use to you, but if you have a Windows box you can use, then the ability to use the Dump() method provide by LINQPad is just a massive timesaver.

    Using LINQPad

    First you have to register an application with Twitter. Adam has a very nice writeup on setting up your application on dev.twitter.com in his answer.

    Once you have your OAuth tokens, download and install LINQPad and the .NET Framework 4.0 (if you don’t already have it.)

    Next grab Twitterizer, which is a great .NET Twitter library. I’m using version 2.3.1 for this example. Unpack the ZIP file to a location you can reference later. Now we can get started.

    Start LINQPad, click on the Query 1 window, and change the Language to C# Statements.

    Next press F4 to open the Query Properties. On the Additional References tab click Browse… and find Twitterizer2.dll where you extracted it earlier.

    Adding a reference to Twitterizer2.dll in LINQPad

    Now, click on the Additional Namespace Imports tab and type Twitterizer into the window like so:

    Adding a reference to Twitterizer in LINQPad

    Now click OK, and we can write our query.

    In the Query 1 window, enter the following code:

    OAuthTokens tokens = new OAuthTokens();
    tokens.ConsumerKey = "YourConsumerKey";
    tokens.ConsumerSecret = "YourConsumerSecret";
    tokens.AccessToken = "YourAccessToken";
    tokens.AccessTokenSecret = "YourAccessSecret";
    
    TwitterUser.Lookup(
      tokens, 
      new LookupUsersOptions { 
        ScreenNames={"arcain","dotnetdevbuzz"}, IncludeEntities=true 
      }
    ).Dump(); // the magic happens here!
    

    Now hit F5 to execute the query, and off LINQPad goes to Twitter to fetch your results.

    The results using Dump() are nicely formatted, and the entire object is rendered without having to reference anything explicitly, like so:

    Results from calling Twitter using LINQPad and Twitterizer

    You can then click Export Results to export to Excel, Word, or just HTML, although you may want to reference some of the object fields directly to target your report data.

    Oh, and you can apply Dump() to just about anything, so it is a nice addition to any toolbox. Anyway, I hope you can make use of this as I find it a real time saver.


    I finished the above, and then remembered the Twitter dev console, Twurl. Twurl is a bare-bones console that is available from the Apps tab on dev.twitter.com. It can be found by following a link on the right side of the page:

    Link to the Twurl Console

    Now, Twurl would be great if it wasn’t broken, but it still is. So, the next best thing (if you still want a webby console alternative to LINQPad) would be using a free service like apigee.com which supports OAuth as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I basically want to use link_to to link to the index method of a
I basically want to do this: grep 'example.com' www_log > example.com.YYYY-MM-DD-H:i:S.log ...with of course
this question is very similar to another post I basically want to use the
Basically I want to use RegEx to grab stuff in between paragraphs in a
Basically, I just want to know if its possible to use Nhibernate to migrate
I basically want to do this in code: PersonList myPersonList; //populate myPersonList here, not
So I basically want to have a static method in my AR class to
I basically want to use the XML parser from Qt in my existing project.
I use eclipse and svn 1.6 What I basically want is to be able
I basically want to dynamically apply some style to all elements in a page,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.