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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:26:56+00:00 2026-05-26T02:26:56+00:00

Along side my existing user database, I have been storing a relation of twitter

  • 0

Along side my existing user database, I have been storing a relation of twitter user_ids. I currently use this to allow users to login to their account using twitter via their oauth api

However, I would now like to utilise this account link to allow the users to post updates from my site to twitter when they are logged into their account on my site. Please note, that users don’t have to log in using twitter, but do require a twitter account linked in order to post to twitter automatically.

So, the question is, what do I need to store to ensure that my site has permanant update access to the user’s twitter account without them needing to re-login to twitter. Upon the initial setup, they must allow my app permision (so i’m not doing anything wrong).

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-26T02:26:57+00:00Added an answer on May 26, 2026 at 2:26 am

    The user will always have to give permission, so it will always be redirected once to twitter to give it.

    However, once this has been done, you can request an access token, which should give you permanent access to the account of the user, of course until withdrawn by the user through twitter.com

    You will be using oAuth to do this. Previously it was also possible (maybe still, but deprecated) to login to twitter remotely with a username/password combination.

    take a close look to the oAuth documentation of twitter: https://dev.twitter.com/docs/api#oauth

    There are some twitter libraries available, also for PHP, to help you with this: https://dev.twitter.com/docs/twitter-libraries#php

    Always make sure you store the tokens which are provided by twitter once granted access. With these tokens you can access the users twitter account.

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

Sidebar

Related Questions

I have a media player I've created in C, and its running along side
This client side script is being added to buttons in our existing codebase. It
I've been asked to develop a new application that will work along side the
We are stuck performing this mySQL query and the PHP along side it. Here
I run a small web development company along side with my brother and friend.
I need to encryption several pieces of text in a file along side unencrypted
I'd like to display a colorbar representing an image's raw values along side a
In Oracle SQL, how do I return count(*) column along side of a regular
I'm aware of server-side javascript for a long time now, but I don't have
I have an existing asp.net mvc website that uses basic forms authentication. The site

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.