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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:09:37+00:00 2026-06-01T07:09:37+00:00

I am working on an old application, which is now going to be updated

  • 0

I am working on an old application, which is now going to be updated so we can support the new Facebook features. I noticed that the user model have uuid, atoken and asecret facebook keys.

In the old site users had the ability of login in with Facebook and posting status updates. The thing is that I need to migrate the old user information to the new schema.

My wonder is, since I do not have an access_token for my users, how could I convert the token and secret Facebook keys to an oauth2 access_token, since I need the old users be able of using the application almost without noticing any architectural changes just the ones in design.

  • 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-01T07:09:38+00:00Added an answer on June 1, 2026 at 7:09 am

    I believe you have to check for the current token – If the current token ‘contains’ the user’s ID, then simply provide them with a link to update their token to become an auth token.

    They should have implemented something so that the old token could be submitted to request a new auth token in exchange.
    But I’m guessing they’re doing those changes to force user to re-login and maintain their privacy.

    –edit–
    I stand corrected.
    Facebook did indeed implement this, although it wasn’t easy to find within their cr#p documentation:
    Facebook Migration

    The code to run is:

    curl -F client_id=your_app_id \
     -F client_secret=your_app_secret \
     -F sessions=session_key1,session_key2 \
     https://graph.facebook.com/oauth/exchange_sessions
    

    This will return a proper OAuth Access Token, which can then be used with all 3.x SDK

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

Sidebar

Related Questions

I am working on my first Grails application, which involves porting over an old
I'm currently working on a large and old C++ application that has had many
Background I'm working on an application which requires user-entered content, and I've decided to
I have converted my old VS2008 Website to Web Application, now everything was working
Right now, I have a console application I'm working on, which is supposed to
I am working on a web application that will be going live soon, and
I am working on an old application which has huge code from legacy. Application
net webforms application which is a new version of an old webshop. I have
I'm working on an old web application in Visual Studio .Net 2003 (yeeich) and
I am working on an old .NET 1.1 windows application. In the debugging configuration

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.