Facebook Webhooks with pages - only want to get posts - facebook

I'm using Facebook Webhooks with a an app subscription to a page.
I've it linked to functions in Firebase, and so far everything is running really well. However, the one snag is that its recording every comment, like and update! With a really busy facebook page thats not ideal! All I want is the latest posts sent by admins and if those posts are updated or deleted to trigger also.
Any advice?
Here is my request:
Any help would be greatly appreciated.
Many Thanks

Related

Intragram Graph API Webhooks

I have read the documentation, https://developers.facebook.com/docs/instagram-api/webhooks but I am confused as to how the mentions API with the webhooks works and was hoping someone could throw some light my way.
I have successfully setup the hook, and my facebook app is configured to send data here.
I gather I Have to tell the the app that the facebook page linked with an instagram account wishes to subscribe by calling this:
POST graph.facebook.com/{facebook page id}/subscribed_apps which should then hit my hook everytime any linked page gets a mention in a media item or a comment?
This is the bit I am confused on and could really use some help!
Also, can I have multiple pages subscribe to the hook?
Thanks in advance.
Can you figure this out or no
i looked everywhere with no result

FB api comments notifications

I'm working on a classified ads site that works with FB sdk. To upload a classified ad, the user must give permission to the SDK application. After creating a classified ad, fb comments shown below it. What I need is that when someone makes a comment, he gets a notification to ad owner with a link to the site. This is possible?
I hope you can help me, some days ago I'm looking for a solution and I can not find it.
may be the real time updates may help here facebook real time api. Though i am not able to find the functionality as such.
You can come up with something of the sort.
At the end of the day or low load times you can traverse all the shared posts for new comments in that day. If there was a comment you can extract that and send that to admin of that ad on his email.

Publishing Updates to Facebook Users That Like'd a Link on My Website

I am trying to figure out how to get to a spot where I can interact with those that "LIKE" a link on my website. I have seen both of these articles on Stack, but they have not helped me.
Facebook Like Button + Open Graph + Website = Pushing Updates to Likes?
No "Admin Page" link on Facebook Like button on a web page
I have a feeling that the second link above is just not up to date anymore for the new Facebook.
My site is http://www.UpcomingEvents.com.
Any help would be GREATLY appreciated!! We have some heavily LIKE'd urls and it would be great to be able to get info to those who are interested.
Thanks in advance!
Dennis
I must say, luckily this is not possible anymore. I don´t want to suddenly get stuff in my stream on facebook just because i liked one article/page on a website.
Here´s the info:
https://developers.facebook.com/docs/reference/plugins/like/migration/
With this admin page deprecated, developers will no longer have the ability to publish updates to users who have clicked on a particular Like Button. The REST endpoint to publish updates for a Like Button will also be deprecated.

How to get Facebook page notification via Graph API

Got a issue with Facebook Graph API. I want to read page notifications via Graph API. But Facebook documentation only states about user's notification.
Following only returns a user's notification (the user who provided the access token for this.)
http://graph.facebook.com/me/notifications
I did following techniques. But no luck.
01. But i tried with different urls with access token provided by the page. (with my stupid guess work by replacing page-id for me)
http://graph.facebook.com/page-id/notifications
02. Checked with Insights API. But Insights doesn't provide a straight forward solutions. This is more like stats. But all i just need a list of latest user/fan/post actions in the page.
https://graph.facebook.com/page-id/insights/field
Some background about my App (hope no issues with this as other API's working),
Platform .Net 4.0
Library I am using is C# Facebook SDK
Facebook documentation doesn't help much. I have spent a few day on this to find a solution for this. Just wondering if any of you guys came across this issue and solved. I hope i didn't put a duplicate question here, as i did search for few days on Stackoverflow too.
Thanks.
There isn't a page notification API. I don't believe there is any way to directly query this data.
You can get notifications of changes to a Facebook page using the Real-Time API. https://developers.facebook.com/docs/reference/api/realtime/
Facebook now allows you to read Page unread notifications by querying the edge: {page-id}/notifications.
See https://developers.facebook.com/docs/graph-api/reference/v2.7/page/notifications
From the FB Page docs for the notifications edge...
Notifications for this Page. Deprecated April 30, 2019.
Looks like the only way to track Page notifications at the moment is via the realtime Webhooks for a page, which isn't the same as reading the notifications from FB but it appears to be where we're at...until FB changes their mind again. ;)
https://developers.facebook.com/docs/pages/realtime/

How can I remove posts from a Facebook Fan page?

I've really few experience with Facebook development, just made few things...
I'd like to know how to programatically modify a fan page, the particular requirement that I've right now is to control posts from users, I'd like to be notified for a new post and also have the ability to delete posts.
Could you guide me to accomplish this task? What should I use / read to get this done.
Thanks a lot!
As far as I know there is now way to receive an email through facebook when someone adds a new wall post to a Fan Page.
Follow this thread:
http://www.facebook.com/topic.php?uid=6802152230&topic=9913#topic_top
A user did mention "If you're using Firefox, install Update Scanner to your addons"
I'm sure the docs can help you on programmatically deleting a post. Try here:
http://wiki.developers.facebook.com/index.php/Stream.remove