Query public posts / feeds from facebook - facebook

I am building an app in which user will enter some words.
I need to get data about these words from facebook public feeds / public posts .
After getting data, i will display post / feed permanent_uri in my app.
i have read out following link but i do not know where to start. From whom i need to contact and on which platform.
https://developers.facebook.com/docs/public_feed/
i also read out link Facebook public feed API
In which one person answers that fb restricts this now.
Can i get public posts / feeds from facebook ?

Related

Need to create Facebook events feed from public page

I'm trying to get an events feed from a Public Facebook page, but can't get it working.
I've an app with "Page Public Content Access" permission.
I try {page-id}/events and {page-id}/feed without luck. In the first case I get an empty data array, in the second one I get all posts but no events.
You simply cannot get events from public pages anymore (this had been changed after Cambridge Analytica).

Post ID of a particular public URL of Facebook

I want to access the Post Id of public url "
http://timesofindia.indiatimes.com/world/middle-east/Saudi-Arabias-Prince-Mohammed-bin-Salman-unveils-sweeping-plans-to-end-addiction/articleshow/51990106.cms" using the facebook graph api in java.
I am able to get all the posts from the page. But i want only the post whose url is mentioned above.

how to read public timeline feed in facebook?

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
/{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
The feed of posts (including status updates) and links published by this person, or by others on this person's profile. There are other edges which provide filtered versions of this edge:
/{user-id}/posts shows only the posts that were published by this person.
/{user-id}/tagged shows only the posts that this person was tagged in.
All of these derivative edges share the exact same reading structure, however /feed should be used for all publishing purposes.

How to get list of all public videos from facebook

I want to get video ids of all public facebook videos, Is there any way to do this may be from graph api?
https://developers.facebook.com/docs/graph-api/using-graph-api/v2.2#search
You can only search for Users, Pages, Events, .... but the Public Post Search is deprecated so you canĀ“t get public videos.

Retrieving public videos through Graph API

We are using the Facebook Graph API to search for Public Posts as per the following query:-
"https://graph.facebook.com/search?q=" sSearchText
We have found that this query is currently returning only public posts related to status updates. It is not returning posts which contain videos. Could you kindly let us know as to how we can retrieve the same?
You need to use FQL as opposed to the Graph API. Details on how to query Facebook for video objects can be found at the link below:
https://developers.facebook.com/docs/reference/fql/video
See this existing question for more details: Facebook Graph API and videos