Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to validate Facebook App ID

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?

like image 886
Serkan Yersen Avatar asked Dec 13 '22 11:12

Serkan Yersen


1 Answers

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.

like image 104
Jimmy Sawczuk Avatar answered Dec 15 '22 00:12

Jimmy Sawczuk