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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:13:42+00:00 2026-06-09T02:13:42+00:00

Am coming back to building a FB app after some time away from the

  • 0

Am coming back to building a FB app after some time away from the FB Platform and I see that the old offline_access permission has been removed and replaced with long(ish)-expiry tokens[1].

So, it now seems like any external app that needs to push data to Facebook based on, say, a schedule or some activity in the external app will need to cope with that long-access token having expired. This is made more frustrating because now a user logging out of FB will also kill any long-expiry token[2], whereas before, offline_access lived on even when the user was logged out.

I’m still in the pondering-a-solution stage, but two ideas spring to mind:

1) Whenever my app contacts a user who has FB integration, they are requested to click a link that will trigger re-auth with FB to get a new long-access token. My users are generally contacted several times within the lifespan of a long-access token, so this should effectively keep renewing the long-access token for as long as they need (even if it does add some annoying friction to my app)

2) Because I can’t guarantee that 1) will always work (due to users not clicking the re-auth link in my app’s email notification or them logging out of Facebook, for example) I’ll also have to handle failed FB interactions by placing them in a holding queue and emailing the user to explicitly ask them to grant a long-access token again. Not cool, but I see no other option. If they don’t respond to the request after X attempts to ask them to re-grant permission, I’ll just have to bin the task and email them to explain that it’s due to an FB limitation, not my app. Again, not cool.

Has anyone had to come up with any better solutions to maintain the ability to interact with a user’s account with authentication/explicit permissions? I’d be keen to hear what you did.

(This is all pending me re-reading the FB ToS, of course – it’s entirely possible that this is against the rules, which would be even more frustrating)

EDIT/UPDATE: the data I need to push is images to a photo album which will arrive at my server from various sources and will then be pushed into an appropriate user’s album (with their pre-granted permission, of course). I won’t be able to guarantee having any web-based end-user interaction at the point in time the images hit my server in order to get the end user to grant me a new short-lifespan token. Basically, offline_access really would have been ideal for this IMO.

UPDATE 2: NB: it’s really key to my use case that the user won’t necessarily be using my app or Facebook when the token needs to be granted or extended.

[1] https://developers.facebook.com/roadmap/offline-access-removal/
[2] http://developers.facebook.com/blog/post/2011/05/13/how-to–handle-expired-access-tokens/

  • 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-09T02:13:44+00:00Added an answer on June 9, 2026 at 2:13 am

    You’ve got the right two options, but I will point out a third option and a little-known-fact that may or may not be relevant for your specific scenario of “needs to push data to Facebook”

    First, another option available assuming you either have mobile web or canvas implemented for your app is app to user requests or notifications. The user will get a little notification counter indicator next to your app name in the list of bookmarks. If they respond to the request or the bookmark/notification counter gets them to hit your app, you can trigger your server-side token renewal/extension process. This process is transparent to the user — assuming they still have your app installed they see nothing.

    Secondly, what a lot of people use offline_access for today is simply posting to the user’s stream. If that is all you need and you don’t need to do a bunch of FQL queries or hit other actions on the graph API, then you don’t actually need offline_access or a current user token if you get the publish_stream permission. With publish_stream you can post while the user is offline by using your app access token.

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

Sidebar

Related Questions

I'm seeing some weird stuff happening in my app. After coming back to the
I am coming back to facebook app development after a long time. And I
So I have some data that's coming back from a database query, and the
Quite often when coming back to Visual Studio from Expression Blend 3, I see
I have some negative values coming back from a query. I would like them
I am coming back from after reading this c-faq question I am totaly confused
I am just coming back to web development after a while away and am
I have a response coming back from my server that looks like this {Errors:{ViewModels[0]:Not
I am coming back to an old Google App Engine project on which I
I'm coming back to c++ after using Java for a long time. In Java

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.