Skip to content

Commit

Permalink
Issue #1132 - manage_pages and publish_pages removed
Browse files Browse the repository at this point in the history
  • Loading branch information
nbartels committed Feb 19, 2021
1 parent 9145bc2 commit a69aec1
Showing 1 changed file with 12 additions and 30 deletions.
42 changes: 12 additions & 30 deletions src/main/java/com/restfb/scope/FacebookPermissions.java
Expand Up @@ -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.
*
* <p>
* <strong>Review</strong>
*
* <p>
* 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.
*
Expand All @@ -305,6 +292,8 @@ public enum FacebookPermissions {
*
* <p>
* 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), //

Expand All @@ -320,6 +309,8 @@ public enum FacebookPermissions {
*
* <p>
* 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), //

Expand All @@ -336,6 +327,8 @@ public enum FacebookPermissions {
*
* <p>
* 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), //

Expand All @@ -355,6 +348,8 @@ public enum FacebookPermissions {
*
* <p>
* 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), //

Expand Down Expand Up @@ -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.
*
* <p>
* Publishing as an individual personal account is not possible with this permission. To post as an individual, please
* see the <code>publish_actions</code> permission.
*
* <p>
* <strong>Review</strong>
*
* <p>
* 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.
*
Expand All @@ -472,6 +450,8 @@ public enum FacebookPermissions {
*
* <p>
* 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), //

Expand All @@ -494,6 +474,8 @@ public enum FacebookPermissions {
*
* <p>
* 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), //

Expand Down

0 comments on commit a69aec1

Please sign in to comment.