Swift SDK Version

ReadPermission

publicenumReadPermission
Enum that represents a Graph API read permission. Each permission has its own set of requirements and suggested use cases. See a full list at https://developers.facebook.com/docs/facebook-login/permissions
  • Provides access to a subset of items that are part of a person’s public profile.

    Declaration

    Swift
    casepublicProfile
  • Provides access the list of friends that also use your app.

    Declaration

    Swift
    caseuserFriends
  • Provides access to the person’s primary email address.

    Declaration

    Swift
    caseemail
  • Provides access to a person’s personal description (the ‘About Me’ section on their Profile)

    Declaration

    Swift
    caseuserAboutMe
  • Provides access to all common books actions published by any app the person has used. This includes books they’ve read, want to read, rated or quoted.

    Declaration

    Swift
    caseuserActionsBooks
  • Provides access to all common Open Graph fitness actions published by any app the person has used. This includes runs, walks and bikes actions.

    Declaration

    Swift
    caseuserActionsFitness
  • Provides access to all common Open Graph music actions published by any app the person has used. This includes songs they’ve listened to, and playlists they’ve created.

    Declaration

    Swift
    caseuserActionsMusic
  • Provides access to all common Open Graph news actions published by any app the person has used which publishes these actions. This includes news articles they’ve read or news articles they’ve published.

    Declaration

    Swift
    caseuserActionsNews
  • Provides access to all common Open Graph video actions published by any app the person has used which publishes these actions.

    Declaration

    Swift
    caseuserActionsVideo
  • Access the date and month of a person’s birthday. This may or may not include the person’s year of birth, dependent upon their privacy settings and the access token being used to query this field.

    Declaration

    Swift
    caseuserBirthday
  • Provides access to a person’s education history through the education field on the User object.

    Declaration

    Swift
    caseuserEducationHistory
  • Provides read-only access to the Events a person is hosting or has RSVP’d to.

    Declaration

    Swift
    caseuserEvents
  • Provides access to read a person’s game activity (scores, achievements) in any game the person has played.

    Declaration

    Swift
    caseuserGamesActivity
  • Provides access to a person’s gender.

    Declaration

    Swift
    caseuserGender
  • Provides access to a person’s hometown location through the hometown field on the User object.

    Declaration

    Swift
    caseuserHometown
  • Provides access to the list of all Facebook Pages and Open Graph objects that a person has liked.

    Declaration

    Swift
    caseuserLikes
  • Provides access to a person’s current city through the location field on the User object.

    Declaration

    Swift
    caseuserLocation
  • Lets your app read the content of groups a person is an admin of through the Groups edge on the User object.

    Declaration

    Swift
    caseuserManagedGroups
  • Provides access to the photos a person has uploaded or been tagged in.

    Declaration

    Swift
    caseuserPhotos
  • Provides access to the posts on a person’s Timeline. Includes their own posts, posts they are tagged in, and posts other people make on their Timeline.

    Declaration

    Swift
    caseuserPosts
  • Provides access to a person’s relationship status, significant other and family members as fields on the User object.

    Declaration

    Swift
    caseuserRelationships
  • Provides access to a person’s relationship interests as the interested_in field on the User object.

    Declaration

    Swift
    caseuserRelationshipDetails
  • Provides access to a person’s religious and political affiliations.

    Declaration

    Swift
    caseuserReligionPolitics
  • Provides access to the Places a person has been tagged at in photos, videos, statuses and links.

    Declaration

    Swift
    caseuserTaggedPlaces
  • Provides access to the videos a person has uploaded or been tagged in.

    Declaration

    Swift
    caseuserVideos
  • Provides access to the person’s personal website URL via the website field on the User object.

    Declaration

    Swift
    caseuserWebsite
  • Provides access to a person’s work history and list of employers via the work field on the User object.

    Declaration

    Swift
    caseuserWorkHistory
  • Provides access to the names of custom lists a person has created to organize their friends.

    Declaration

    Swift
    casereadCustomFriendlists
  • Provides read-only access to the Insights data for Pages, Apps and web domains the person owns.

    Declaration

    Swift
    casereadInsights
  • Provides read-only access to the Audience Network Insights data for Apps the person owns.

    Declaration

    Swift
    casereadAudienceNetworkInsights
  • Provides the ability to read from the Page Inboxes of the Pages managed by a person.

    Declaration

    Swift
    casereadPageMailboxes
  • Provides the access to show the list of the Pages that you manage.

    Declaration

    Swift
    casepagesShowList
  • Provides the access to manage call to actions of the Pages that you manage.

    Declaration

    Swift
    casepagesManageCta
  • Lets your app manage Instant Articles on behalf of Facebook Pages administered by people using your app.

    Declaration

    Swift
    casepagesManageInstantArticles
  • Provides the access to Ads Insights API to pull ads report information for ad accounts you have access to.

    Declaration

    Swift
    caseadsRead
  • Permission with a custom string value. See https://developers.facebook.com/docs/facebook-login/permissions for full list of available permissions.

    Declaration

    Swift
    casecustom(String)