Facebook Developers
DocsToolsSupportNewsApps
Log In
  • Social Plugins
  • Facebook Login
  • Open Graph
  • Facebook APIs
    • Graph API
    • FQL
    • Open Graph
    • Dialogs
    • Chat
    • Internationalization
    • Ads
  • Games
  • Payments
  • App Center
  • Promote Your App
  • iOS
  • Android
  • JavaScript
  • PHP
  • More SDKs
  • Tables
    • album
    • app_role
    • application
    • apprequest
    • checkin
    • comment
    • comments_info
    • connection
    • cookies
    • column
    • developer
    • domain
    • domain_admin
    • event
    • event_member
    • family
    • friend
    • friendlist
    • friendlist_member
    • friend_request
    • group
    • group_member
    • insights
    • like
    • link
    • link_image_src
    • link_stat
    • location_post
    • mailbox_folder
    • message
    • note
    • notification
    • object_url
    • offsite_conversion_event
    • page
    • page_admin
    • page_blocked_user
    • page_global_brand_child
    • page_fan
    • page_milestone
    • permissions
    • permissions_info
    • photo
    • photo_src
    • photo_tag
    • place
    • privacy
    • privacy_setting
    • profile
    • profile_tab
    • profile_view
    • question
    • question_option
    • question_option_votes
    • review
    • score
    • standard_friend_info
    • standard_user_info
    • status
    • stream
    • stream_filter
    • stream_tag
    • subscription
    • table
    • thread
    • translation
    • unified_message
    • unified_message_count
    • unified_message_sync
    • unified_thread
    • unified_thread_action
    • unified_thread_count
    • unified_thread_sync
    • url_like
    • user
    • video
    • video_tag

privacy

API Reference › FQL › privacy

Description

An FQL table that can be used to return a user's privacy setting for a video, note, link, photo, or photo album that they published.

Columns

NameDescription

allow

string

The UIDs of the specific users or the IDs of friendlists that can see the object (as a comma-separated string).

deny

string

The UIDs of the specific users or the IDs of friendlists that cannot see the object (as a comma-separated string).

description

string

A description of the privacy settings. For custom settings, it can contain names of users, networks, and friend lists.

friends

string

Which users can see the object. Can be one of: EVERYONE, FRIENDS_OF_FRIENDS, ALL_FRIENDS, SOME_FRIENDS, SELF, NO_FRIENDS

id

id

The ID of any video, note, link, photo, or photo album published by the current session user.

networks

string

The ID of the network that can see the object, or ALL_NETWORKS for all of the user's networks.

object_id

id

id is an alias of this column.

owner_id

id

The ID of the user who owns the object.

value

string

The privacy value for the object, one of: EVERYONE, CUSTOM, ALL_FRIENDS, FRIENDS_OF_FRIENDS

Examples

  • SELECT ... FROM privacy WHERE id = A
  • SELECT ... FROM privacy WHERE object_id = A
Note: Additional filters on other columns can be specified but they may make the query less efficient.

Permissions

To read the privacy table you need

  • any valid access_token to retrieve for all valid objects published by the current session user
Facebook © 2013 · English (US)
AboutAdvertisingCareersPlatform PoliciesPrivacy Policy