自2018年5月1日起,未验证Facebook应用能否获取页面fan_count?
Hey Lucas, I’ve dealt with this exact headache when Facebook rolled out that policy change back in 2018, so let me break down what’s still possible for you:
What Changed Exactly?
That May update locked down access to public page data hard. The Page Public Content Access permission—required to pull details like fan_count from any public Facebook page—was moved to the list of permissions that demand app review and business verification. Your old workflow with an unverified app’s app_id and app_secret stopped working because unapproved apps no longer get default access to this permission.
Can You Still Get Fan Count?
Absolutely, but it depends on your specific use case:
For pages you manage: If you’re an admin, editor, or publisher of the target page, you can use a user access token (generated from your personal Facebook account linked to the page) instead of an app token. This lets you pull
fan_countand other public data without needing app review. Just make sure the token has thepages_show_listorpages_read_engagementpermission (double-check Facebook’s current docs for exact requirements, since they tweak these occasionally).For frontend display only: If you just need to show the fan count on a website, skip the API entirely and use Facebook’s Page Plugin. It embeds a widget that automatically displays the page’s fan count, and it doesn’t require any app credentials or review. You can customize its look directly through Facebook’s plugin generator.
For arbitrary public pages (backend access): If you need to pull data from pages you don’t manage, you’ll have to go through Facebook’s app review process:
- First, complete business verification for your Facebook app (you’ll need a registered business entity for this step).
- Submit a request for the
Page Public Content Accesspermission, clearly explaining your specific use case—vague requests like "I need fan counts" will get rejected. For example, say "I’m building a social media analytics tool to track competitor page growth for small business clients." - Once approved, you’ll be able to use your app’s credentials to pull public page data again.
Quick Heads-Up
Facebook’s permissions and policies do get updated from time to time, so it’s a good idea to cross-reference their official docs before starting any review process to avoid surprises.
内容的提问来源于stack exchange,提问作者Lucas

