Facebook App Review - Webhooks for pages - facebook

I have a facebook app which should monitor post, comments on few pages. We are planning to configure webhooks to get notification for feed updates.
I have following queries regarding the same
1. Is it possible to change my Facebook webhook URL for Pages without having FB to review again my application?
2. Can I subscribe to new Pages after the app review is complete? Or do I need to resubmit for review for adding new pages

Is it possible to change my Facebook webhook URL for Pages without having FB to review again my application?
Yes.
Can I subscribe to new Pages after the app review is complete?
Yes.
Or do I need to resubmit for review for adding new pages
No, don’t worry. Facebook wants to see in review what functionality your app provides, and what it does with the data it accesses; but it is not tied to any specific pages or webhook URLs.

Related

Independently subscribe to Instagram and Facebook Page webhooks?

I know it is possible to subscribe to webhooks (for a Meta/Facebook App) for a specific Facebook page by using https://graph.facebook.com/{pageId}/subscribed_apps?subscribed_fields={fields}&access_token={token} but how does this work for Instagram pages? The only text I have found about it states the following:
Note: You cannot use the subscribed_fields parameter to configure or subscribe to Webhooks for Instagram. You must use your app dashboard to subscribe to Instagram Webhooks (from https://developers.facebook.com/docs/graph-api/reference/page/subscribed_apps/)
But it sounds a bit weird that a customer using our App cannot connect their Instagram page to our App and have webhooks delivered, without me as an App-owner doing manual stuff in the app dashboard.
Am I missing something?
No need to subscribe instagram page you should just go to instagram entry on the developer facebook account webhooks and then subscribe to a field that you want to receive notifications . your facebook page should be associated to your instagram business account .
N.B For the feed of instagram we have only comments field

Facebook App Review: Take a screencase from a server-only app?

I use the Facebook API and an app to automatically post to a Facebook page up to three times a day. These public posts contain recent changes from my CMS, and the "app backend" is written in PHP.
Currently, Facebook asks all app developers to submit their apps for a review. This looks pretty difficult to me, as the data to be submitted should contain a screencast. But there is nothing I could show in such a screencast, as there is only sourcecode creating new posts...
Facebook pages API: "Page Public Content Access" review screencast was an interesting starting point: just don't use a public app, but keep it in development mode. I changed the mode from live to dev, and all posts that were created in the last months vanished from my page. I could see them, logged in with my own account, but neither logged out nor using another account :( Is there anything I forgot to change?
Just do a screencast of how the server is posting after some event or timeout.
Can you trigger some event on your server and show that new post was created after that? This should be enough for review.
After several months of trying, finally manage to pass this review for manage_pages and publish_pages permissions. Important keyword is "server to server application".
Here is what I wrote for both permissions:
You can refer to this page for more details:
https://developers.facebook.com/docs/apps/review/server-to-server-apps/sample-submission

Subscribe to Facebook Page photos using Pages API webhook

TL/DR;
With page webhook in place, if I upload new photo to the Page via Photos Facebook notifies my webhook. If I do the same on page timeline — it doesn't.
Details:
I want my application to receive new posts from some public Facebook page. Posts may have a photo attached or may not.
What have I done:
In my Facebook app settings I've created a Page Subscription in Webhooks section. I've chosen 'feed' field.
I've subscribed my app to the target page using "/subscribed_apps" endpoint. Page access token with "manage_pages" permission was used for that.
Problem:
Facebook is calling my webhook and my app receives text posts from the page, so basically subscription works. But if I attach an image to the post, Facebook doesn't trigger the webhook. I don't see any other sensible field to choose for Page Subscription and I've tried almost all of the other fields as well with no luck.
I'm stuck. It looks like I need to fine-tune some permission somewhere, but just don't see which else to try. Is it ever possible to subscribe for new page photos?
UPD:
If I upoad new photo via Photos Facebook notifies my webhook. If I do the same via page timeline — it doesn't. Looks like a bug
UPD2:
Fixed by Facebook team. Now works as expected
Well, this is confirmed bug in Facebook Realtime API: https://developers.facebook.com/bugs/1740620369486641/
UPD:
Fixed by the Facebook team. Now subscription works as expected

Facebook: How to post on own page using graph api without login

I own a blog like website, and as part of promotions I have a corresponding facebook page. My website contents are dynamic & when it gets updated(through a bot), I want the facebook page also to be updated by an automated post/publish from the bot which shows up the updates to the page viewers.
I could create a facebook page, and my bot programme which updates the web content is also able to publish the content on my facebook page using graph apis. But the posts are not publicly visible(Visible to only me/admin).
I could learn that it could be because my app through which my bot program is publishing to my facebook page is not public.
App->Status & Review, Status (Tab)
(Do you want to make this app and all its live features available to the general public?).
To make the app public, there is a review process which checks the facebook login button used in the website but my posts are through a backend bot and not through user action. My website is like a blog without user authentication so can't think of adding a login there.
Is it possible without having user login on the page? Also, If I post using twitter apis and link/configure my twitter account to my facebook page, it works.I guess this is not a new problem and many brands have automated it already, so need to understand how.
Am I missing something?
Apologies: I have checked previous posts on the same topic, but couldn't find relevant answers for the current Facebook version & policies.
Without the Login Review process, your posts can not be visible to the public.
To get it working, just send your page management tool (with the login dialog) for the review. Once they review it and accepted, you may change the flow a bit eg: skip the login part and allow auto posting.

Implementing comments and notifications using Facebook plugins

I have a reviews website where I want to integrate Facebook social plugins. I initially thought of integrating facebook comment plugin where users can write their reviews for the products I have listed on my site. But that seemed like laying waste to my own review functionality.
Here's the flow I came up with:
create a facebook app for the website
Users write a review and post it to their facebook profile
When some action happens on the review like when it is voted up or replied to, the user who posted the review to facebook gets notified via the facebook notification center
I fetch the likes, replies on facebook post and display them on my website on the review
Is it possible to implement this workflow? I basically want to send notifications to user from inside my website not from the facebook application I created.
This is possible using apprequests. One requirement for this to work is your website and facebook canvas app must be registered under the same 'app' (ie have the same appID) and be under the same base domain.