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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:42:28+00:00 2026-05-23T01:42:28+00:00

I have a web app that allows people to register directly or by using

  • 0

I have a web app that allows people to register directly or by using their facebook credentials through the facebook registration plugin. I want to be able to duplicate information posted on the website to my website’s facebook fan page. So far if I have a user that is not logged into facebook, it will post to my Page’s wall no problem showing that it came from my website app. But if the person is logged into facebook, but has not granted my app the publish_stream permission I get a permissions error. Is there anyway to simply force the post to come from my website app if I don’t have the proper permission with the user? I would be happy if every post on my facebook page came from the app and never from the user, but I simply can’t find any documentation showing how this is done or if it even can be done.

EDIT

Here is the code I am using that will allow me to post to my own wall if the person is not logged into facebook. I have already authorized the app to post.

$attachment = array('message' => $notes,
                    'name' => 'Backcountryride.com',
                    'caption' => "Community Driven Transportation",
                    'link' => 'http://backcountryride.com',
                    'description' => $description,
                    'picture' => 'http://backcountryride.com/images/vanlogo.jpg'
                    );
    $result = $facebook->api('/backcountryride/feed/','post',$attachment);

EDIT2

Here is the code I use to instantiate the $facebook object:

$facebook = new Facebook(array(
  'appId'  => FACEBOOK_APP_ID,
  'secret' => FACEBOOK_SECRET,
  'cookie' => true,
));

$session = $facebook->getSession();

$me = null;
// Session based API call.
if ($session) {
  try {
    $uid = $facebook->getUser();
    $me = $facebook->api('/me');
  } catch (FacebookApiException $e) {
    error_log($e);
  }
}

Thank you!

  • 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-23T01:42:28+00:00Added an answer on May 23, 2026 at 1:42 am

    What you are looking for is an “app login”. You can get a session for your app instead of the user. Not easy to find, I stumbled across it a few weeks ago. Then you just use the functions you normally use, but with your “app” session instead of a “user” session.

    https://developers.facebook.com/docs/authentication/#app-login

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

Sidebar

Related Questions

I have an existing web app that allows users to rate items based on
I am working on an ASP.NET MVC web app that allows people to publish
I have a web app that is heavily loaded in javascript and css. First
I have a web app that only registered users can use, therefore I should
Problem: We have a web app that calls some web services asynchronously (from the
I have a huge web app that is having issues with memory leak in
I have this .NET web app that draws a table in Page_Load. Then after
This a bit of strange one.... We have an internal web app that runs
I have been support a web app that is used by a user base
We are currently storing plain text passwords for a web app that we have.

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.