huuanh1987 / facebook-java-api

Automatically exported from code.google.com/p/facebook-java-api
0 stars 0 forks source link

The app_id ApplicationProperty is not supported #214

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. It is not possible to do the following:

FacebookXmlRestClient client = new FacebookXmlRestClient(apiKey, secret);
Collection<ApplicationProperty> propsToReturn = new
HashSet<ApplicationProperty>();
propsToReturn.add(ApplicationProperty.APP_ID);
String strJsonProperties =
client.admin_getAppPropertiesAsString(propsToReturn);

2. This is because the ApplicationProperty.APP_ID field does not exist,
even though "app_id" is a valid property in Facebook's list of
ApplicationProperties.  See:

http://wiki.developers.facebook.com/index.php/ApplicationProperties

Note that "app_id" is a read-only property.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

All versions of the facebook-java-client are missing this field.  I've
added it to a local version of the code and it works.

Please provide any additional information below.

Obtaining Facebook's app_id for an app can be important in forming URLs
that use the app_id.

Original issue reported on code.google.com by csack...@gmail.com on 9 Jun 2009 at 7:16

GoogleCodeExporter commented 8 years ago
done :)

Original comment by fern...@gmail.com on 1 Nov 2009 at 1:21