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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:09:04+00:00 2026-06-02T09:09:04+00:00

i am trying to post into a Facebook Page using PHP. I have created

  • 0

i am trying to post into a Facebook Page using PHP.
I have created a Facebook application, and
I am able to post into regular accounts FEED, using the very helpful code i found out in : Daily Automatic post in facebook users wall .

to summarize it does:

$facebook = new Facebook(array('appId'  => 'xxxxxxxx',
                               'secret' => 'xxxxxxxxxxxxxx',));

$post = array('message'   => 'Message to user');

$post_id = $facebook->api("/$USER_ID/feed", "post", $post);

There is no need in any access_token what so ever.
i have granted my application with the following permissions from the PAGE (and from the regular account) : publish_stream,manage_pages

But… this doesn’t seem to work with Facebook PAGE.
i do not seem to be able to post to it from my app.
i have tried the following, and other combinations, but Facebook doesn’t return any error message, nor doesn’t posts:

$feed = '/MYPAGEID/feed';

$post_id = $facebook->api($feed, "post", $post);

Your help is very much appreciated!

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

    In the documentation for the Page object it says:

    To impersonate the Page when posting to the wall (i.e. post as the
    Page, and not the current user), you must use a Page access_token with
    the manage_pages and publish_stream permissions

    and

    To perform the following operations as a Page, and not the current
    user, you must use the Page’s access token, not the user access token
    commonly used for reading Graph API objects. This access token can be
    retrieved by issuing an HTTP GET to /USER_ID/accounts with the
    manage_pages permission. This will return a list of Pages (including
    application profile Pages) to which the user has administrative
    access, along with access_tokens for those Pages. Alternatively, you
    can get a page access token for a single, specific, page by issuing an
    HTTP GET to /PAGE_ID?fields=access_token with the manage_pages
    permission, as described above. Publishing to a Page also requires the
    publish_stream permission, unless otherwise noted.

    Also, be sure to check the Authenticating as a Page tutorial.

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

Sidebar

Related Questions

I'm trying to post some very simple data to a php file using jquery
I created a business page on Facebook and using the graph api Im trying
I'm trying to post a Facebook profile picture into a Jquery popup window and
I'm trying to POST to a secure site using WinHttp, and running into a
I am trying to post an apprequest to a user using the URL: https://graph.facebook.com/USER_ID/apprequests?message=’This
I've been trying to implement the Facebook SDK into my application in order to
I'm very new to yii, and I'm trying to integrate the facebook-wall-like style into
I'm trying to post to WordPress using curl via PHP - I'm posting using
I have the following function to post to Facebook using the latest iOS Facebook
I am trying to pass in mutliple data into AJAX .post(). This is what

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.