0

So it seems that Facebook has deprecated the public JSON and XML feeds for profiles (https://www.facebook.com/feeds/page.php?format=json&id=[id]).

I have a client's website that was grabbing a simple facebook feed for display on the homepage. They own the facebook page they want to feed from.

I understand I'm supposed to use the Graph API. But it doesn't seem possible without authentication. Is there any way to pull this data without generating a temporary token each time? Asking the user for facebook access every time they open this separate website seems like a really bad user experience.

This seems to be a recent deprecation on the part of facebook (Did Facebook recently disable accessing public page feeds via uri?). Any help is greatly appreciated. Thanks!

Community
  • 1
  • 1
bencollins
  • 91
  • 1
  • 2
  • 7

2 Answers2

2

For display public informations without authentifcation in Json, create a app to facebook graph.

You just need :

  • Facebookappid
  • Facebookappsecret
  • Facebookpageid

And use this url :

https://graph.facebook.com/Facebookpageid/feed?access_token=Facebookappid|Facebookappsecret

and Tada, you can see the public feed in Json.

Hope help someone.

0

Thanks @WizKid, that helped! More specifically it looks like I needed to find a permanent page access token. This page had my answer: facebook: permanent Page Access Token?

Community
  • 1
  • 1
bencollins
  • 91
  • 1
  • 2
  • 7