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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:20:51+00:00 2026-05-25T15:20:51+00:00

I have a website and a facebook page for the website. For most of

  • 0

I have a website and a facebook page for the website. For most of the news update, I post them on the facebook page’s wall.

Now I want to show the wall’s content of that facebook page on my website, just like the facebook’s Like Box with “stream” enabled: http://developers.facebook.com/docs/reference/plugins/like-box/

However, I only want to show the stream, and perfectly can show it in my own presentation. So is it possible to get only the content of a facebook page by facebook’s 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-05-25T15:20:52+00:00Added an answer on May 25, 2026 at 3:20 pm

    I think if you use the SDK you can get it by using

    fb->api("/{id}/feed");
    

    There’s a php and a javascript sdk.

    But you also need an access token now to get the feed of a page.

    EDIT: Here’s a copy of example.php (from the php-sdk) modified for your purpose.

    include_once("facebook-sdk/facebook.php");
    
    // Create our Application instance (replace this with your appId and secret).
    $facebook = new Facebook(array(
      'appId'  => 'APP_ID GOES HERE',
      'secret' => 'SECRET GOES HERE',
    ));
    
    // Get User ID
    $user = $facebook->getUser();
    
    // We may or may not have this data based on whether the user is logged in.
    //
    // If we have a $user id here, it means we know the user is logged into
    // Facebook, but we don't know if the access token is valid. An access
    // token is invalid if the user logged out of Facebook.
    
    if ($user) {
      try {
        // Proceed knowing you have a logged in user who's authenticated.
    
        // This is where we grab the posts
        $wall_posts = $facebook->api('/courseyou/posts');
      } catch (FacebookApiException $e) {
        error_log($e);
        $user = null;
      }
    }
    
    // Login or logout url will be needed depending on current user state.
    if ($user) {
      $logoutUrl = $facebook->getLogoutUrl();
    } else {
      $loginUrl = $facebook->getLoginUrl();
    }
    ?>
    
    
    <?php if ($user): ?>
    <a href="<?php echo $logoutUrl; ?>">Logout</a>
    <?php else: ?>
    <div><a href="<?php echo $loginUrl; ?>">Login with Facebook</a></div>
    <?php endif ?>
    
    <h3>Wall Posts</h3>
    <?php
    foreach ($wall_posts["data"] as $post) {
        echo "<p>".$post["from"]["name"].": ".$post["message"]."</p>";
    }
    ?>
    

    As far as I know you need an access token to view a page’s posts/feed with the api, which makes me think that you need the user to login with facebook…. I’m fairly new to this, but you should look into how to get an access token, because you need one for this.

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

Sidebar

Related Questions

I have developed a facebook page tab app for my website and now I
I have website with like button and facebook page that was created manually. I
I have a website where I want to show a facebook like button, which
How to post something on a facebook page's wall from a asp.net website. Google
I have a website that uses Facebook integration. Every time any page reloads or
I want to make relationship between my Facebook Page & my website. I have
We have a website that uses Facebook for login. We have an invite page
Possible Duplicate: Detect Facebook page fan on the website I have a question to
I have a Facebook application, a Facebook page and a website. When someone adds
Okay this question is very simple: I have a facebook page, and a website.

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.