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 8200341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:24:56+00:00 2026-06-07T06:24:56+00:00

There’s a Javascript library for doing OAuth – called jsOAuth . The examples that

  • 0

There’s a Javascript library for doing OAuth – called jsOAuth.

The examples that are available show it being used from within browsers. There are also some examples that claim to show how to use it from Node.js.

Can it also be used from ASP Classic / JScript ?

The key test would be:
can jsOAuth be used to post a Tweet on behalf of a user, from an ASP Classic page?

  • 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-06-07T06:24:57+00:00Added an answer on June 7, 2026 at 6:24 am

    No, I don’t think so.

    The library has a couple problems that prevent it from being used as is, from an ASP-Classic page implemented in Javascript.

    1. the basic syntax of the library assumes a require package and a well-known exports variable. These conventions aren’t present in ASP Classic. Also it directly assigns properties to the global “this” object, which isn’t directly possible in ASP Classic.

    2. jsOAuth presumes the presence of the map method on all Array types.

    3. jsOAuth instantiates XMLHttpRequest instances directly from the XMLHttpRequest constructor. This constructor is available in the Javascript execution environment within modern browsers, but it isn’t available within ASP-Classic. The library could fall back to use new ActiveXObject("MSXML2.ServerXMLHTTP"), but it does not.

    4. The library presumes asynchronous XMLHttpRequest operation. In a browser, that works just fine. But in ASP-Classic page, the page process ends, which means pending asynchronous calls are orphaned. In the ASP-Classic environment, it would be necessary to make synchronous calls to the OAuth-protected Service Provider.


    So out of the box, not possible. The other major obstacle to using it within ASP Classic is the lack of suitable documentation and examples.

    It is possible to modify the library to allow it to be used in ASP Classic; I’ve put together a modified version. I’ll post it shortly.

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

Sidebar

Related Questions

There is a moment in my app, that I need to force to show
There are a lot of blogs saying that a hasOwnProperty check should be used
There is a website called Gild.com that has different coding puzzles/challenges for users to
There is a column that exists in 2 tables. In table 1, this column
There is a directed graph having a single designated node called root from which
There are two intents on the receiver side which are called from the same
There are several shading languages available today like GLSL, HLSL, CG, which one to
There are many string matching algorithms can be used to find a pattern (string)
There is no doubt that MonoTouch is one of the great cross-compiler(s). Similarly, SenchaTouch
I am doing a simple coin flipping experiment for class that involves flipping a

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.