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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:41:47+00:00 2026-05-23T06:41:47+00:00

Facebook changed their Graph API recently to require an access token. Therefore I quickly

  • 0

Facebook changed their Graph API recently to require an access token. Therefore I quickly made a Facebook application to be able to retrieve an access token, use a URL similar to the one below, generated my access token and implemented the token in my iPhone application. Lately I have been thinking about if I have done something wrong. Should I request the access token everytime a user of my application retrieves data from the Graph API? I am starting to doubt whether or not the access token is unique to each user or just to the Facebook application.

Can I hardcode an access token into my application or should I make a request on the URL below every time I need to retrieve data through the Graph API?

I am generating my access token with the following URL:

https://graph.facebook.com/oauth/access_token?client_id=MYID&client_secret=*MY_SECRET*&grant_type=client_credentials

  • 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-23T06:41:48+00:00Added an answer on May 23, 2026 at 6:41 am

    Access token granted by user have expiration time. If token expired then you need to request it again. But if you ask user to grant you “offline_access” permissions then you’ll have almost not limited access token. You can store it in database or file and use next time.

    Here FB documentation about permissions:
    http://developers.facebook.com/docs/authentication/permissions/

    Enables your app to perform authorized
    requests on behalf of the user at any
    time. By default, most access tokens
    expire after a short time period to
    ensure applications only make requests
    on behalf of the user when the are
    actively using the application. This
    permission makes the access token
    returned by our OAuth endpoint
    long-lived.

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

Sidebar

Related Questions

With the many programming tools from FaceBook, like FaceBook connect, graph api, etc... Is
I want to develop a facebook application but it seems that they're changing their
Is it possible to set/change a user's facebook profile image through the graph API?
How did Porche add Facebook like button to their fan page? They also changed
Facebook Connect and their Social Widgets documentation mention that you need to add an
Facebook gives access to users' emails via the extended permission. There's also a way
Facebook API: How to let the php knows whether the user is a fan
My Facebook application contains Javascript that works in Firefox and IE, but aborts in
Yesterday I changed the application settings and enabled New Data Permissions and New SDKs.
In their recent changes, Facebook now links your likes and interests with community and

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.