PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, January 7, 2022

[FIXED] how to read public timeline feed in facebook?

 January 07, 2022     facebook, facebook-graph-api-v2.3, facebook-php-sdk     No comments   

Issue

I need to read timeline feed in facebook public pages. I have used syntax to get the feed from timeline:

https://graph.facebook.com/v2.3/DoveIndia?fields=id,name,picture,feed

It works well and returns the feed,when facebook page not have "Posts To Page". When Page have "Posts To Page",it only returns all posted messages on page not timeline feeds.

Example of a request(Graph API Explorer tools):

https://graph.facebook.com/v2.3/jeep?fields=id,name,picture,feed

Please suggest how can read feed from timelines?

Thanks Sameek


Solution

/{page-id}/posts shows only the posts that were published by this page.

Source: https://developers.facebook.com/docs/graph-api/reference/v2.3/page/feed



Answered By - andyrandy
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing