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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:44:06+00:00 2026-06-15T23:44:06+00:00

facebook feeds without authentication token $pageID = ID of Page $url = https://graph.facebook.com/. $pageID

  • 0

facebook feeds without authentication token

$pageID = "ID of Page"
    $url = "https://graph.facebook.com/". $pageID ."/feed";
    $json = file_get_contents($url);
    $jsonData = json_decode($json);

    foreach($jsonData->data as $val) {
        if($val->from->id == $pageID) { //find the first matching post/status by a fan page admin
            $message = $val->message;
            echo $message;
            break; //stop looping on most recent status posted by page admin
        }
    }

I found this code when I searched on google. But I did it as they indicated in their post, but now it’s not working ?

  • 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-15T23:44:07+00:00Added an answer on June 15, 2026 at 11:44 pm

    It’s not possible. Check this out.

    This request: https://graph.facebook.com/cocacola/feed

    Returns this response:

    {
       "error": {
          "message": "An access token is required to request this resource.",
          "type": "OAuthException",
          "code": 104
       }
    }
    

    Facebook likely requests an access_token so that they can rate-limit this call. It doesn’t need to be a user access_token, just at least an App Access level access_token. Read about the differences here: https://developers.facebook.com/docs/concepts/login/access-tokens-and-types/

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

Sidebar

Related Questions

I'm using the link https://www.facebook.com/feeds/page.php?format=json&id= to return a JSON object of the newest updates
I wanna get all input from my pages timeline. so I read graph.facebook.com/pageid/feed with
$.getJSON('https://graph.facebook.com/BogdanErimia/posts/?access_token=xxxxx&date_format=U&limit=17&callback=?', function(feed) { $.each(feed.data, function(index, item){ $('.tweet').append('<div class=item-normal><div class=normal><div id=story2>' + item.message + '</div></div><div
It's now possible to tag friends and location in feed post https://developers.facebook.com/blog/post/2012/03/07/building-better-stories-with-location-and-friends/ according to
Facebook allows a distance parameter for their search like https://graph.facebook.com/search?q=coffee&type=place&center=37.76,-122.427&distance=1000 They don't say what
Is it possible to post to a facebook page feed without first liking the
Is it possible to use Graph API to upload photos to facebook without a
I want to develop a page where post feed from facebook can be searched.I
Here is the example: http://developers.facebook.com/docs/reference/dialogs/feed/ It's supposed to do a popup with the message
I'm attempting to pull out a page feed to RSS from Facebook, however each

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.