如何验证 Facebook 应用 ID [英] How to validate Facebook App ID
问题描述
我需要检查给定的 Facebook 应用 ID 是否有效.此外,我需要检查为此应用程序 ID 设置了哪些域和站点配置.无论是通过 PHP 还是 Javascript 完成都没有关系.
I need to check if the given Facebook app id is valid. Also, I need to check which domain and site configurations are set for this app id. It doesn't matter if it's done through PHP or Javascript.
我到处检查,但找不到任何有关此的信息.有什么想法吗?
I checked everywhere but couldn't find any information about this. Any ideas?
推荐答案
您可以通过访问 http://graph.facebook.com/
来验证 ID加载您期望的内容.有关应用程序信息,请尝试使用 admin.getAppProperties,使用属性 从此列表中.
You can validate the ID by going to http://graph.facebook.com/<APP_ID>
and seeing if it loads what you expect. For the app information, try using admin.getAppProperties, using properties from this list.
这篇关于如何验证 Facebook 应用 ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!