Autoposting from fb Page's feed to Messenger - facebook

Is it any way to subscribe to any page's feed update (not only pages where you are admin) ? Like on https://manychat.com .
So the variant with webhook doesn't appropriate, because you can get feed updates only for administrated pages.
In facebook api pages I found "API Public Feed". Is it what I need?
And if it is, how I can get acces to it (because there is a message that acces is restricted https://developers.facebook.com/docs/public_feed)?

You can only check for updates on Pages you do not manage on a regular basis on your own. For example, with a Cron Job. For webhooks (Realtime Updates), you need to manage the Page.
Public Feed API is not what you want, and it is restricted and you cannot apply for it, as you can read in the docs.

Related

How to retrieve Job Applications from Facebook Page using graph API

I wanted to retrieve job applications from Facebook page using graph API. In the graph explorer i have applied my page Id in node. where we can see several fields like post, conversations, likes... Now if a person clicked "Apply now" button on facebook page. Facebook will capture the vital information to prepare resume. Now i wanted to pull those information against the job post. How is it possible using graph api https://developers.facebook.com/tools/explorer/
I believe that facebook requires you to set up a recruiting manager to access the jobs feed via that user instead of accessing the job information via the graph api for a page. This ensures that the business that owns the page has one person assigned to handling the job interactions and that the application information is being kept secure.
https://developers.facebook.com/docs/pages/jobs-xml/how-to/

Is there a way to subscribe to a facebook page's public posts feed?

I have seen the graph API for webhooks.
https://developers.facebook.com/docs/graph-api/webhooks/reference/page/
Here it says that I need the manage_pages permission from atleast one of the page admins, but I won't have access to this permission.
What I want to do is to stalk/crawl a facebook page's public posts or shared publicly by someone else on that page. I also want facebook to send me push notifications for these posts, all of this without having any permission from the page admins.
The other option for me is to poll the page's feed in the graph API, but I wanted to know if there was a better solution using callbacks.
Also, not looking for the public feed API. I doubt my use case will be given permission by facebook to use that API.
For the second option, mentioned above, I'm looking at this API -> https://developers.facebook.com/docs/graph-api/reference/v2.10/page/feed
But if I keep polling, I'll definitely see blocks around rate limiting.

How to get news feed exactly how it appears in facebook homepage newsfeed using api

I am using /me/feed and /me/home to get my feed and my homepage feed respectively.
But the /me/home only shows updates from my friends. I am following many people but not friends with them. My facebook homepage shows all the updates including my friends and the people I am following.
How to get the news feed exactly like the one appears in the fb website?
As #Fabio said, the Graph API does not support it as of now (and I don't think it'll do that in the future). You can only obtain yours and your friends' feeds using the Graph API.
In order to obtain the feeds from a specific person who's not in your friend list, you need a valid User Access Token from that user with a read_stream permission.
There is however a way to read the public feeds of user status updates and page status updates as they are posted to Facebook. This can be done by using the Public Feed API. This will include all feeds that have their privacy set to ‘public’ are included in the stream. Also, you cannot apply to use the API at this time as its access is limited. Its page says:
Access to the Public Feed API is restricted to a limited set of media
publishers and usage requires prior approval by Facebook. You cannot
apply to use the API at this time.
But I think it's just a fancy way of saying that this API is not free and you'll be charged few dollars (which you can find out by getting in touch with someone at Facebook) for using this service.

Facebook public feed API

i'm working on project which mostly is a data-mining from social networks, so far, i've done twitter and it have really nice API, which allows me to pick an endpoint and recieve alredy filltered twits as streaming data. Now i'm working on a facebook, and there comes the question: with Graph API i would be able to get public feed of some definite page, but what if i would like to recieve posts from as many people as possible? Does Facebook Public Feed API works as Twitter's, and gives me data from as many sources as possible, or i missunderstood something?
Facebook has restricted public feed api usage and its now available only to handful no of teams: https://developers.facebook.com/docs/public_feed
Access to the Public Feed API is restricted to a limited set of media publishers and usage requires prior approval by Facebook. You cannot apply to use the API at this time.
You're look for the Facebook Search API. https://developers.facebook.com/docs/reference/api/search/
You'll need an app with a token to access these. Some might need higher permissions though, but the generic one will work to search commons actions types (post, places, etc) who're publicly available on the platform.
You won't be able to search for private publications. Unless you search user who gave you direct permissions to read their timeline (one by one).

Wall content on my website

What I want is to be able to put the wall content of my facebook page in my website. I want to include the posts and comments of others and mines.
I have 2 questions:
Activity feed:
Here is what the FB docs say :
<fb:activity
site="jerrycain.com"
action="critiqueapp:despise,critiqueapp:review,critiqueapp:grade">
</fb:activity>
Where can I get a list of all possible actions? Can I specify that I want posts and comments?
OpenGraph:
I was able to get an access token yesterday, that is not valid anymore. I was able to see a json object of the wall content. What is the best way to have this permanently?
Activity feed social plugin is using OpenGraph actions in action field so the complete list is simply not available due to possibility to create custom actions for every application, there is several Built-in Action Types:
Watch - Video, Movie, TV Show, or TV Episode
Read - Article
Currently specifying like also works but it's not documented. Aside of those pre-defined actions you may Define Actions. Neither posts or comments is listed as supported actions in documentation.
Access tokens are expired and need to be extended if you need longer life-time of a token. Also you may use application access_token to access public posts from your page (without need to get the token from user)...