I need to check whether an user is an application developer (i.e. admin of the application page). The problem is to get the application id.
I tried it this way:
Dictionary<string, string> properties = Master.Api.Admin.GetAppProperties();
long app_id = long.Parse(properties["app_id"]);
However, when calling GetAppProperties(), the Facebook SDK throws an exception:
edit_info_url is not a valid application property.
I also tried to use the Facebook.Schema.app_info class, but neither the app_id nor the developers property returns a result. Probably, I have to initialize the instance, but I don't know how.
I appreciate any help! Thanks!