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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:36:07+00:00 2026-06-01T14:36:07+00:00

is it possible to get an valid access token for an user via a

  • 0

is it possible to get an valid access token for an user via a cronjob?
i want to create an app that parse every night all posts from the user and check if there are some special chars.

with the app access key i have only access to the public posts from the user.. with the user access token i can access also private posts

but the user access token expires

is it possible to refresh the user token with an cronjob? that means the cronjob may have to refresh 100 user access tokens and i dont have the user du open the authorization dialog because its called on a server via cronjob

I’am using php for the facebook api

  • 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-01T14:36:08+00:00Added an answer on June 1, 2026 at 2:36 pm

    No, this is not possible, it even say that explicitly in the official Removal of offline_access Permission post:

    The user must access your application before you’re able to get a
    valid “authorization code” to be able to make the server-side OAuth
    call again. Apps will not be able to setup a background/cron job that
    tries to automatically extend the expiration time, because the
    “authorization code” is short-lived and will have expired.

    With that said, when you get an access token from a Server-Side authentication flow, the token you get should last for a month, if you persist it then you can then use it for that month.

    After that month is over, and if the user hasn’t re-engaged your app then the access token will be expired and you’ll have to pass on that user.

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

Sidebar

Related Questions

Possible Duplicate: Get CVS history for a particular user Is it possible to list
Possible Duplicate: Get full path of a file with FileUpload Control I want to
does anyone know how to (if possible) get the owner of the tag on
I am trying to work out if it is possible get JPA to persist
Possible Duplicate: Get all files from VSS for a given date? I need to
Possible Duplicate: Get a list of dates between two dates This is my sql:
Possible Duplicate: Get URL of ASP.Net Page in code-behind I'm trying to hold current
Possible Duplicate: Get image data in Javascript? Convert an image into binary data in
Possible Duplicate: get name of current PHP script in include file Can an included
I was wondering if it's possible to get the index value of the underlying

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.