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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:20:58+00:00 2026-05-25T00:20:58+00:00

Is it possible to get the ID (Facebook Graph API) of a user who

  • 0

Is it possible to get the ID (Facebook Graph API) of a user who is currently logged in, without any access tokens?

If not, then how do I get new access tokens every time a user visits my page?

  • 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-25T00:20:59+00:00Added an answer on May 25, 2026 at 12:20 am

    You will need to init the Facebook Javascript SDK and the user will have to have authorized your app at least one time. After that when the user visits your page as long as they are logged into Facebook you’ll have access to the id and can retrieve it using

    FB.getLoginStatus

    the response will contain the information you’re looking for.

    Check this blog post for more details on setting up the FB init and the initial login.

    https://developers.facebook.com/blog/post/525/

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

Sidebar

Related Questions

is it possible to get the user_id from the facebook user without requiring the
Possible Duplicate: Facebook Graph API, how to get users email? I am playing with
According to Facebook Graph API documentation, it is possible to get detailed informations about
What's the difference between accessing user data with the Facebook Graph API ( http://graph.facebook.com/btaylor
I can easily get the unread notifications with this query: https://graph.facebook.com/USER_ID/notifications?access_token=ACCESS_TOKEN Is it possible
I noticed that the Graph API (e.g. GET https://graph.facebook.com/UID ) returns relationship_status and significant_other
I'm creating an app in Titanium that uses the Facebook Graph API to get
I'm building a flex application using the http://code.google.com/p/facebook-actionscript-api/ library. Is it possible to get
I'm starting to use facebook Graph API and I'm going to retrieve an access
I am using facebook graph api and I am able to get the email

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.