From a69aec1c87c0ed3ba197b6a3ff8ecaa1cc4de6f0 Mon Sep 17 00:00:00 2001 From: Norbert Bartels Date: Fri, 19 Feb 2021 16:39:10 +0100 Subject: [PATCH] Issue #1132 - manage_pages and publish_pages removed --- .../com/restfb/scope/FacebookPermissions.java | 42 ++++++------------- 1 file changed, 12 insertions(+), 30 deletions(-) diff --git a/src/main/java/com/restfb/scope/FacebookPermissions.java b/src/main/java/com/restfb/scope/FacebookPermissions.java index db92c0268..691c9d985 100644 --- a/src/main/java/com/restfb/scope/FacebookPermissions.java +++ b/src/main/java/com/restfb/scope/FacebookPermissions.java @@ -281,19 +281,6 @@ public enum FacebookPermissions { */ EMAIL("email", Category.USER_DATA), // - /** - * Enables your app to retrieve Page Access Tokens for the Pages and Apps that the person administrates. - * - *

- * Review - * - *

- * If your app requests this permission Facebook will have to review how your app uses it. You can grant this - * permission on behalf of people listed within the Roles section of your App's Dashboard without review by Facebook. - */ - @Deprecated - MANAGE_PAGES("manage_pages", Category.EVENTS_GROUPS_PAGES), // - /** * The {@code pages_manage_ads} permission allows your app the ability to manage ads associated with the Page. * @@ -305,6 +292,8 @@ public enum FacebookPermissions { * *

* If your app requests this permission Facebook will have to review how your app uses it. + * + * @since June 1, 2020 */ PAGES_MANAGE_ADS("pages_manage_ads", Category.EVENTS_GROUPS_PAGES), // @@ -320,6 +309,8 @@ public enum FacebookPermissions { * *

* If your app requests this permission Facebook will have to review how your app uses it. + * + * @since June 1, 2020 */ PAGES_MANAGE_METADATA("pages_manage_metadata", Category.EVENTS_GROUPS_PAGES), // @@ -336,6 +327,8 @@ public enum FacebookPermissions { * *

* If your app requests this permission Facebook will have to review how your app uses it. + * + * @since June 1, 2020 */ PAGES_READ_ENGAGEMENT("pages_read_engagement", Category.EVENTS_GROUPS_PAGES), // @@ -355,6 +348,8 @@ public enum FacebookPermissions { * *

* If your app requests this permission Facebook will have to review how your app uses it. + * + * @since June 1, 2020 */ PAGES_READ_USER_CONTENT("pages_read_user_content", Category.EVENTS_GROUPS_PAGES), // @@ -440,23 +435,6 @@ public enum FacebookPermissions { @GraphAPI(since = "2.5") PAGES_SHOW_LIST("pages_show_list", Category.EVENTS_GROUPS_PAGES), // - /** - * Gives your app the ability to post, comment and like as any of the Pages managed by a person using your app. - * - *

- * Publishing as an individual personal account is not possible with this permission. To post as an individual, please - * see the publish_actions permission. - * - *

- * Review - * - *

- * If your app requests this permission Facebook will have to review how your app uses it. - */ - @GraphAPI(since = "2.3") - @Deprecated - PUBLISH_PAGES("publish_pages", Category.EVENTS_GROUPS_PAGES), // - /** * The {@code pages_manage_posts} permission allows your app the ability to create, edit, and delete your Page posts. * @@ -472,6 +450,8 @@ public enum FacebookPermissions { * *

* If your app requests this permission Facebook will have to review how your app uses it. + * + * @since June 1, 2020 */ PAGES_MANAGE_POSTS("pages_manage_posts", Category.EVENTS_GROUPS_PAGES), // @@ -494,6 +474,8 @@ public enum FacebookPermissions { * *

* If your app requests this permission Facebook will have to review how your app uses it. + * + * @since June 1, 2020 */ PAGES_MANAGE_ENGAGEMENT("pages_manage_engagement", Category.EVENTS_GROUPS_PAGES), //