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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:30:19+00:00 2026-05-25T18:30:19+00:00

Here is my scenario: I have a mobile application, which will call a method

  • 0

Here is my scenario:

I have a mobile application, which will call a method in C# webservice, which will have 2 parameters, TwitterUsername and TwitterPassword.

Now in that web service method, I have to authenticate the user with these username and password for twitter and then there a further process to store the data (all four credentials – Consumerkey, ConsumerSecret, AccessToken & AccessTokenSecret) in one of the sql tables and the last identity generated has to be returned.

Can anyone please help me regarding twitter in webservice.. it would be a great help for me.

Thanks in advance,

Shailen


Ok, that I got from the your links provided. Now I have username, password, consumerkey and consumersecret in my webservice.

So, how can I get remaining two values for AccessToken and AccessTokenSecret without redirecting to any other page from webservice?

As, response.Redirect gives error in webservice.

thanks.

  • 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-25T18:30:20+00:00Added an answer on May 25, 2026 at 6:30 pm

    I don’t think you can authenticate users with a Username and Password anymore:

    From Twitter:

    We announced in December of 2009 the deprecation of Basic Auth. Its
    removal date from the platform is set for June 2010. We announced
    towards the end of June 2010 that we have postponed this until August
    16th 2010.

    The only way to authenticate now is using oAuth:

    https://dev.twitter.com/docs/auth/oauth/faq

    Read this article for more info:

    https://dev.twitter.com/docs/auth/moving-from-basic-auth-to-oauth

    Basic Authentication is a liability. By storing logins and passwords,
    a developer takes on additional responsibilities for the secure
    storage of those credentials; the potential harm to users if login
    credentials are leaked or abused is very high. Because many users
    utilize the same password across many sites, the potential for damage
    does not necessarily stop with their Twitter account.

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

Sidebar

Related Questions

Here's my scenario - I have an SSIS job that depends on another prior
Here's the scenario: You have a Windows server that users remotely connect to via
Here's the scenario: You have an ASP.Net application supported by a Microsoft SQL Server
Here's the scenario: I have a set of buttons that I want to bind
Here's my scenario: I have a simple stored procedure that removes a specific set
Here's the scenario: I have a textbox and a button on a web page.
Here's the scenario I have a Grid with some TextBlock controls, each in a
Here's my scenario: I have a page containing several links; each link is meant
Here is the scenario: I have two asp pages. a.aspx is layout and b.aspx
Here's the scenario: We have users login on a secure connection. Could an unathorized

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.