Graph API Version

Page Saved Filters

Reading

Filters saved in Page Publishing Tools

Graph API Explorer
GET /v2.9/{page-id}/saved_filters HTTP/1.1
Host: graph.facebook.com
/* PHP SDK v5.0.0 */
/* make the API call */
$request = new FacebookRequest(
  $session,
  'GET',
  '/{page-id}/saved_filters'
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
/* make the API call */
FB.api(
    "/{page-id}/saved_filters",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/{page-id}/saved_filters",
    null,
    HttpMethod.GET,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
// For more complex open graph stories, use `FBSDKShareAPI`
// with `FBSDKShareOpenGraphContent`
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"/{page-id}/saved_filters"
                                      parameters:params
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];

Parameters

NameDescription
section
enum {AUDIENCE_ALERTS, COMMERCE_PRODUCTS, COMMERCE_COLLECTIONS, COMMERCE_PENDING_ORDERS, COMMERCE_PAST_ORDERS, COMMERCE_DISCOUNT_CODES, COMMERCE_MERCHANT_SETTINGS, COMMERCE_SHOP_LINK, DONATIONS_SETTINGS, DRAFTS, REWARD_PROGRAM, EXPIRED_POSTS, EXPIRING_POSTS, INSTANT_ARTICLES, INSTANT_ARTICLES_DEVELOPMENT, INSTANT_ARTICLES_MONETIZATION, INSTANT_ARTICLES_SAMPLE, INSTANT_ARTICLES_SETTINGS, INSTANT_ARTICLES_SIGN_UP, INSTANT_ARTICLES_CTA_MANAGEMENT, INSTANT_ARTICLES_TRAFFIC_LIFT, INVOICES_ACTIVE, INVOICES_HISTORY, LEAD_ADS_DRAFT_FORMS, LEAD_ADS_FORMS, LEAD_ADS_CRM_SETUP, PUBLISHED_POSTS, SCHEDULED_POSTS, ADS_POSTS, VIDEOS, JOB_POSTS, NEW_MATCHES, VIDEOS_COPYRIGHT, REPORTED, PLAYLISTS, PLAYLIST_DETAILS, SEASONS, SEASON_DETAILS, TAKEDOWNS, UNSENT_REPORTS, ALLOWED, TRACKED, BLOCKED, CLAIMED, MANUAL_REVIEW, MATCH_RULES, DISPUTES, ACTIVE_FUNDRAISERS, DRAFT_FUNDRAISERS, READY_FUNDRAISERS, ENDED_FUNDRAISERS, ADS_CANVAS, REFERENCE_FILES, ALL_REFERENCE_FILES, REFERENCE_CONFLICTS, REFERENCE_RESOLUTIONS, LIVE_BROADCASTS, CROSSPOSTED_VIDEOS, PUBLISHED_PROFILE_PICTURE_FRAMES, PENDING_PROFILE_PICTURE_FRAMES, TAROT_COMPOSER, DRAFT_EDITIONS, PUBLISHED_EDITIONS, CURATIONS, UPCOMING_EVENTS, DRAFT_EVENTS, SCHEDULED_EVENTS, CANCELED_EVENTS, PAST_EVENTS}

The tab on which the filter was created

Required

Fields

Reading from this edge will return a JSON formatted result:

{ "data": [], "paging": {} }

data

A list of PageSavedFilter nodes.

paging

For more details about pagination, see the Graph API guide.

Validation Rules

ErrorDescription
210User not visible
100Invalid parameter
200Permissions error

Creating

You can't perform this operation on this endpoint.

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.