/app/set_provider_permissions

This call sets a Social Login application's permissions for a provider. The permissions that you can set depend on the provider, service level, and whether the provider has been configured or not. You can set permissions if, and only if, you pass them in the permissions parameter. Each request replaces the existing set of permissions. The old ones are cleared and the new ones set.

Accepted Content-types

  • application/x-www-form-urlencoded
  • multipart/form-data

This endpoint accepts the POST method.


POST

Authentication

This endpoint supports Basic authentication. 

How to Create an Authentication String

Base URL

The base URL for this endpoint is your application domain followed by /partner/v2; for example:

https://educationcenter.rpxnow.com/partner/v2

You can find your application domain in the Social Login (Engage Dashboard) on the Settings page:

Example Request


curl -X POST \
    --data-urlencode apiKey=1234567891234567891234567891234567891234\
    --data-urlencode partnerKey=9876543219876543219876543219876\
    --data-urlencode provider=facebook \
    --data-urlencode permissions='address, emails, interests, organizations, photos, status'\
    https://rpxnow.com/partner/v2/app/set_provider_permissions
      
      Running this command in Postman

Example Response


{
  "stat": "ok"
}
      

Query Parameters

Parameter Type Required Description
apiKey string Yes Your Social Login apiKey, which you can find on the Janrain Dashboard.
 
format string The response format: either xml or json. If not specified, the response defaults to json.
 
partnerKey string Yes Your Social Login partnerKey, which you can find on the Janrain Dashboard.
 
permissions string Yes Comma-separated list of permissions to set. Allowed permissions for each provider are shown below.
 
provider string Yes Name of the provider. Allowed values are :
  • facebook
  • google
  • linkedin
  • mixi
  • paypal

Individual Provider Permissions

Facebook:

  • address
  • addresses
  • birthday
  • chatLogin
  • contactsOnlinePresence
  • contactsReligionPolitics
  • createEvent
  • educationHistory
  • emails
  • events
  • groups
  • interestedInMeeting
  • interests
  • likes
  • manageAds
  • manageNotifications
  • managePages
  • musicActions
  • notes
  • offlineAccess
  • onlinePresence
  • organizations
  • photos
  • publishActions
  • publishCheckins
  • questions
  • readCheckins
  • readContactLists
  • readContactsCheckins
  • readMailbox
  • readRequests
  • relationshipStatus
  • religionPolitics
  • rsvpEvent
  • sendSms
  • socialSharing
  • status
  • urls
  • videos

Google:

  • analytics
  • blog
  • bookSearch
  • calendar
  • contacts
  • database
  • documents
  • finance
  • maps
  • notebook
  • readMailbox
  • sites
  • socialNetworkReadOnly
  • socialNetwork
  • spreadsheets
  • video
  • webAlbums
  • webAnnotations
  • webmasterTools

PayPal:

  • accessCredentials
  • addresses
  • birthday
  • languagesSpoken
  • phoneNumbers
  • utcOffset
  • verifiedAccount

LinkedIn:

  • email

Mixi:

  • profileAboutMe
  • profileBirthday
  • profileBloodType
  • profileFavoriteThings
  • profileGender
  • profileHometown
  • profileInterests
  • profileLastLogin
  • profileLocation
  • profileName
  • profileOccupation
  • profileOrganizations
  • profileStatus
  • readCalendar
  • readCheckin
  • readDiary
  • readMessage
  • readPageFollow
  • readPage
  • readPhoto
  • readShare
  • readUpdates
  • readVoice
  • writeCalendar
  • writeCheckin
  • writeDiary
  • writeMessage
  • writePageFeed
  • writePhoto
  • writeProfile
  • writeShare
  • writeVoice