huuanh1987 / facebook-java-api

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

Permission enum doesn't have all the permissions supported by Facebook #109

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The Permission.java enum for users_hasAppPermissions() doesn't support all
of the permissions that Facebook allegedly supports. From the Facebook
documentation:

http://wiki.developers.facebook.com/index.php/Users.hasAppPermission :
String identifier for the extended permission that is being checked for.
Must be one of email, offline_access, status_update, photo_upload,
create_listing, create_event, rsvp_event, sms

The Permission.java as of Rev 328 on the main branch only shows support for
sms, status_update, create_listing, and photo_upload. In particular, it
would be nice if the enum also supported "email".

What version of the product are you using? On what operating system?
-- this is as of the latest code; I'm currently running against 1.8-final

Please provide any additional information below.

Workaround: use the deprecated users_hasAppPermission() that takes a
CharSequence, although this doesn't support being able to query for
permissions of other users.

Original issue reported on code.google.com by tom.krai...@gmail.com on 24 Sep 2008 at 11:35

GoogleCodeExporter commented 8 years ago
fixed, svn 336. (2.0.2-SNAPSHOT)

Original comment by fern...@gmail.com on 30 Sep 2008 at 3:28