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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:03:25+00:00 2026-05-21T18:03:25+00:00

I am trying to understand, how facebook authentication works and how the flow should

  • 0

I am trying to understand, how facebook authentication works and how the flow should look like. I am working with Google App Engine and I have managed to obtain first the code and then access token. Using it I can for example retrieve user’s friends list. This is all cool.

However, how can I store this access_token? I wan to allow my user to access different pages in my facebook app and I will need this access token on those pages. How can I store it and how can I retrieve it? Or maybe no matter which page user accesses I first need to get the code and then access token and only then can I perform some operations on his behalf?

I don’t want to use javascript sdk for now. Is it possible to do it all from server side?

  • 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-21T18:03:25+00:00Added an answer on May 21, 2026 at 6:03 pm

    how can I store this access_token? I
    wan to allow my user to access
    different pages in my facebook app and
    I will need this access token on those
    pages. How can I store it and how can
    I retrieve it?

    just store the access_token in the datastore.
    https://github.com/facebook/python-sdk/blob/master/examples/appengine/example.py
    line 50.

    It is from the facebook python sdk.
    https://github.com/facebook/python-sdk/

    If you don’t want to use javascript sdk, you need to see this document. It has all details for facebook Oauth.
    http://developers.facebook.com/docs/authentication/

    While facebook redirect your user to your page assigned by redirect_uri. It will give your the code (A_CODE_GENERATED_BY_SERVER), then your server can get the user’s access_token/facebook id with server side facebook api + code. Then you can login your user (set the session/cookie) and do whatever you want.

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

Sidebar

Related Questions

I am trying to understand facebook like live notifications system to notify users, whenever
I have canvas FBML app for facebook in Java. I am trying to get
Just trying to understand that - I have never used it before. How is
I am trying to understand how Facebook's chat feature receives messages without continuously poling
I'm trying to understand the principle behind the Facebook plugins. As I understood they
I'm trying to understand how Facebook implements the chat sidebar. It seems to stay
I'm trying to implement the new oAuth2 facebook SDK into my app but can't
I am trying to tag my facebook-app user in the photo created by the
I have been trying it for few days and I do not understand what
Trying to understand the options for will_paginate's paginate method: :page — REQUIRED, but defaults

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.