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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:05:30+00:00 2026-06-18T10:05:30+00:00

I want my application to post to a single, pre-defined user’s wall something like

  • 0

I want my application to post to a single, pre-defined user’s wall something like “We just posted a new blog at [URL]” with no client-side interaction.

But every answer I can find on this topic seems to hinge on getting an access token through

https://graph.facebook.com/oauth/access_token

Which gives you some redirect url through which a user has to log in manually.

I’ve got near zero experience with Facebook. Is it possible to automatically get an access token for a predefined user? Am I doing it wrong? 😉

  • 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-18T10:05:31+00:00Added an answer on June 18, 2026 at 10:05 am

    You can’t.

    Facebook doesn’t give you a way to automatically get an access token for a user. That user needs to log into Facebook and explicitly give your app permission. The best you can get is a long-lived access token that remains valid for up to 60 days.

    Getting that token requires a two step process:

    1) Logging into Facebook using either the JavaScript API or redirecting the user to a valid Facebook login URL.
    2) Retrieving the short-lived access token you got in step 1 for a long-lived access token.

    Once you’ve got that access token, should your post fail, you know you need to re-authenticate the user and get a new long-lived access token. Your user needs to be online and logged into Facebook for this to work, though it can happen without their interaction.

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

Sidebar

Related Questions

For example suppose in designing a blog application I want something like domain.com/post/729 Instead
I'm making a single page application. Don't want to use _ViewStart. I like to
I want my android application to automatically post a preset message when the user
I have an ASP.NET application in which i want to post data using jQuery
We run an ASP.NET MVC application, and want it to post geolocalized tweets to
I want my application to encrypt a user password, and at one time password
tl;dr I use CanCan for authorization in a single-author blog. I want non-admin users
Assume we have a multi-tenant blog application. Each user of the application may have
I am trying to post a single tweet in my Windows phone application to
I've just been reading Chad Fowler's blog post about 20 Rails Development No-Nos .

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.