简体   繁体   中英

Checking for new posts on Facebook

Is it possible to check for new posts on Facebook page (Fan Page or Personal Page)? I need to recognize new posts on page every X minutes. What are my options? Are there ways to do it without Facebook Api? And is it possible to do this with Api? Thank you

This is possible with the Realtime API: https://developers.facebook.com/docs/graph-api/real-time-updates/v2.1

You can connect it to a Page or a User Profile. It´s much better than checking on your own with a Cron Job (for example), because Facebook will hit your callback URL on every change so you will never hit a rate limit. I´ve experienced that it is quite fast, new entries are recognized at least 30 seconds after they where changed/created, sometimes even faster.

Btw, it is not allowed without the API, that would be scraping and Facebook does not allow scraping: https://www.facebook.com/apps/site_scraping_tos_terms.php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM