Updates the current user's privacy settings.

Any settings not specified remain unchanged.

This method requires the following permissions: account.

Parameters

settings
array of objects

Regular privacy settings as a JSON array.

key
string

The key as returned by account.getPrivacySettings.

setting
privacy setting

Privacy setting itself.

feed_types
string

Which updates show up in followers" news feeds, comma-separated string:

  • all — all updates, all other values are ignored if this is specified
  • none or an empty string — no updates, all other values are ignored if this is specified
  • photo – new photos added to albums
  • photo_tag – new photo tags
  • friend – new friends
  • group – groups joined or created
  • event – events joined or created
  • board – new discussion board topics in groups
  • relation – relationship status changes

Result

Returns true on success.

Errors

Global errors may occur when calling this method.