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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:20:46+00:00 2026-05-28T03:20:46+00:00

In the past few weeks I’ve been developing a custom PHP login class that

  • 0

In the past few weeks I’ve been developing a custom PHP login class that I will share with the rest of the devs in just a matter of days or weeks, depending on how quick I’ll move with what I’m about to ask next.

So my question would be, how would I make an Twitter login for my existing login app ?

As more info, I’m using a database to store the username, the hash of the password ( a complex algorithm I’ve been working on most of the time does that, so it’s pretty secure for now ), and the email address, also some other info that it’s not relevant in here.

That is why I ask, because I’ve seen some examples and tutorials on how this would work but none use a database. The thing is I need somehow to have the credentials stored in the same database ( with the new columns added as necessary ) and when the user want’s to login, the credentials would just be checked against the db instead of going to twitter again.

Also, only if the user is registered in my database, he could sign in with twitter, I’m not sure if this is possible.

Anyway, the main question is how would I create a Twitter login and use the database in the same time ?

  • 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-28T03:20:47+00:00Added an answer on May 28, 2026 at 3:20 am

    Twitter used to use basic authentication, but now uses OAuth, so you wouldn’t be passing the password but having the user authorize your application via Twitter’s OAuth page. There are several tutorials and libraries out in the world to help you do this, or you can read Twitter’s documentation on implementing sign-in with Twitter.

    What you’ll store in your database after authenticating is the user’s OAuth credentials (oauth token and secret) for future requests.

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

Sidebar

Related Questions

For the past few weeks I have been working on an app that uses
So the past few weeks I've been working on a page that pulls from
For the past few weeks, I've been trying to learn about just how email
Over the past few weeks it seems like I've been interrupted by maintenance tasks
I have been learning Hibernate for the past few weeks, I have gotten most
I've been trying to learn Action Script 3 the past few weeks, making tiny
I have been working on a scheduling website for the past few weeks. I
This has been greatly bothering me in the past few weeks. In this time
I have been dabbling in WCF RIA with Silverlight for the past few weeks
For the past few weeks, i have been using jQote – client-side templating plugin

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.