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

  • Home
  • SEARCH
  • 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 7458067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T13:24:06+00:00 2026-05-29T13:24:06+00:00

I have an app with a login screen with a button that invites users

  • 0

I have an app with a login screen with a button that invites users to login using facebook.
That authentication part of the integration works fine. I have also parsed the returned cookie variable to obtain the userID. The next step is to obtain the users information.

I found this stackoverflow article Difficulty parsing string with Facebook one click sign on and ColdFusion which says

Once you get parsed signed_request (stored in your cookie) you can use
user_id (which is Facebook User Id) and oauth_token (aka access_token)
to get needed info via Graph API or FQL.

But, how do you obtain the access_token the poster speaks of? It is not in the cookie variable (that I can see anyway).

Sorry for being such a noob. I got twitter working easy. Facebook is a pain.

  • 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-29T13:24:06+00:00Added an answer on May 29, 2026 at 1:24 pm

    https://developers.facebook.com/docs/authentication/ is your friend. Read the server side flow section.

    “If the user presses Allow, your app is authorized. The OAuth Dialog will redirect (via HTTP 302) the user’s browser to the URL you passed in the redirect_uri parameter with an authorization code:

    http://YOUR_URL?code=A_CODE_GENERATED_BY_SERVER
    With this code in hand, you can proceed to the next step, app authentication, to gain the access token you need to make API calls.

    In order to authenticate your app, you must pass the authorization code and your app secret to the Graph API token endpoint – along with the exact same redirect_uri used above – at https://graph.facebook.com/oauth/access_token. The app secret is available from the Developer App and should not be shared with anyone or embedded in any code that you will distribute (you should use the client-side flow for these scenarios).

    https://graph.facebook.com/oauth/access_token?
         client_id=YOUR_APP_ID&redirect_uri=YOUR_URL&
         client_secret=YOUR_APP_SECRET&code=THE_CODE_FROM_ABOVE
    If your app is successfully authenticated and the authorization code from the user is valid, the authorization server will return the access token:

    In addition to the access token (the access_token parameter), the response contains the number of seconds until the token expires (the expires parameter). Once the token expires, you will need to re-run the steps above to generate a new code and access_token, although if the user has already authorized your app, they will not be prompted to do so again. If your app needs an access token with an infinite expiry time (perhaps to take actions on the user’s behalf after they are not using your app), you can request the offline_access permission.”

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

Sidebar

Related Questions

My iphone app have login screen, and logout button in the app, requierment was
I have a simple GAE app that includes a login/logout link. This app is
I have login screen when the app is launched. And am able to switch
I have an ios5 app developed using storyboards that currently displays a tab bar
I have a login screen on my app which accepts a CPF as login
In Facebook API...FBConnect...I have used API Key and App Secret...but when I login to
I am trying to provide login using facebook option to my website users. So,
Right now I have an app where the first screen the users see when
I have a question that I have a logout button in my App on
In my app I have a login screen. When connecting a segue from the

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.