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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:41:09+00:00 2026-06-09T11:41:09+00:00

I am using oauth 2 to authenticate user on facebook. My application is loaded

  • 0

I am using oauth 2 to authenticate user on facebook. My application is loaded within canvas page and I am getting user access token from signed_request.

What is best practice for store and use user access token? I will want use user access token in flash facebook application in various api calls.

Should I store it to database? And after every user login to application replace user access token in database?(To prevent it from expiration)

Or whenever I will need access token should I ask facebook somehow to provide me with it?

Thank you very much for answers or links with usefull information. I would like to use it my bachelor thesis.

  • 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-09T11:41:10+00:00Added an answer on June 9, 2026 at 11:41 am

    If you want to use the user access token only when the user is active within your app and that is for a limited amount of time, then you should be fine with the short-lived access token you get from the signed_request; and there should be no need to store it into your database if you have another way of accessing it from your flash app.

    If you want to use it to act on behalf of the user even when he is not actively using your app, f.e. to post in the background, then you should get a long-lived access token as described here, https://developers.facebook.com/roadmap/offline-access-removal/ But that would be more applicable for a server-side app, and since you said you would be using flash I think it might not be relevant for you(?).

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

Sidebar

Related Questions

I have a php application where the user is authenticated using facebook php library
I am using Facebook C# SDK version 6.0.20 to authenticate the user. It worked
Can I authenticate with just Google account username and password instead of using OAuth?
I am successfully able to authenticate Facebook and Google accounts using my Oauth2 servlets.
I'm using Twitter's OAuth API to updates a user's twitter account (twitter status update)
I'm using MPOAuthConnection for Cocoa oauth. I've updated the latest from SVN, built the
I have a facebook application that was using a CFC I had found on
Using Twitter OAuth, I'm saving the user's data as JSON in a twitter field
I am new to oAuth and looking to build a web application using Twitter
I have an application built with GWT/Appengine/Jdo...and i am using Google User Service for

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.