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

  • Home
  • SEARCH
  • 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 3930676
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:16:46+00:00 2026-05-19T23:16:46+00:00

I found a great article on getting started using the Twitter API for authenticating

  • 0

I found a great article on getting started using the Twitter API for authenticating users.

I see that in a normal web app you would write the user’s name and OAuth token/secret to a database. My confusion just stems from how you handle users from that point on. Do you just send them to twitter each time to verify and store these for use in a session variable after logging in? Or is this more of a “associate twitter with your account” than it is a “log in to our site via twitter”?

Finally, I believe I read elsewhere that the OAuth user token and secret are non-expiring (or at least long lasting). Wouldn’t that allow creation of rogue apps that can tweet as a user? I have no intention of that, of course, but it does seem that’s the case.

  • 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-19T23:16:46+00:00Added an answer on May 19, 2026 at 11:16 pm

    I guess you could call it “associate Twitter with your identity on this website.” Once someone authenticates themselves with a Twitter login, you can continue using their stored tokens to read and update their account. You should not ask them to keep logging in through Twitter on each visit. That is just annoying. You would use a cookie to tell you who they are when they visit your site, so you could get their stored tokens.

    Yes, this does allow apps to tweet as the user, but when they do so, the source at the bottom of the tweets shows which app made the tweet. If the user doesn’t approve, they can delete the tweet and remove their approval for that app to reach their account. They do this in their Twitter profile settings on Twitter.com. This is a much better model than the old way of giving an app your user name and password. The only option then was to change your password, which would invalidate all your apps.

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

Sidebar

Related Questions

Found this great article on using jquery for image swapping: http://jquery-howto.blogspot.com/2009/05/replacing-images-at-time-intervals.html How do you
In .Net, I found this great library, HtmlAgilityPack that allows you to easily parse
I'm using Lawrence Philips Double-Metaphone algorithm with great success, but I have found the
I found a great article on integrating different diff and merge tools with Visual
I have an app (using retain/release, not GC) that maintains an NSArray instance variable,
I have a new web app that is packaged as a WAR as part
I have found jQuery to be a great tool to simplify my MVC Views.
I have found a few libraries to edit MP3 tags (UltraID3Lib is great) but
I search for nurple in a file. I found it, great. But now, every
Found the following in an Oracle-based application that we're migrating (generalized) : SELECT Table1.Category1,

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.