Flickrex.Flickr.Prefs (flickrex v0.8.1) View Source
Link to this section Summary
Functions
Returns the default content type preference for the user.
Returns the default privacy level for geographic information attached to the user's photos and whether or not the user has chosen to use geo-related EXIF information to automatically geotag their photos.
Returns the default hidden preference for the user.
Returns the default privacy level preference for the user.
Returns the default safety level preference for the user.
Link to this section Types
Specs
arg() :: String.Chars.t()
Specs
operation() :: Flickrex.Operation.Rest.t()
Specs
opts() :: Flickrex.Rest.args()
Link to this section Functions
Specs
Returns the default content type preference for the user.
This method requires authentication with "read" permission.
Example response
%{
"person" => %{"content_type" => "1", "nsid" => "12037949754@N01"},
"stat" => "ok"
} Specs
Returns the default privacy level for geographic information attached to the user's photos and whether or not the user has chosen to use geo-related EXIF information to automatically geotag their photos.
Possible values, for viewing geotagged photos, are:
- <li>0 : <i>No default set</i></li><li>1 : Public</li><li>2 : Contacts only</li><li>3 : Friends and Family only</li><li>4 : Friends only</li><li>5 : Family only</li><li>6 : Private</li>
Users can edit this preference at <a href="http://www.flickr.com/account/geo/privacy/">http://www.flickr.com/account/geo/privacy/</a>.
Possible values for whether or not geo-related EXIF information will be used to geotag a photo are:
- <li>0: Geo-related EXIF information will be ignored</li><li>1: Geo-related EXIF information will be used to try and geotag photos on upload</li>
Users can edit this preference at <a href="http://www.flickr.com/account/geo/exif/?from=privacy">http://www.flickr.com/account/geo/exif/?from=privacy</a>
This method requires authentication with "read" permission.
Example response
%{
"person" => %{
"geoperms" => "1",
"importgeoexif" => "0",
"nsid" => "12037949754@N01"
},
"stat" => "ok"
} Specs
Returns the default privacy level preference for the user.
Possible values are:
- <li>1 : Public</li><li>2 : Friends only</li><li>3 : Family only</li><li>4 : Friends and Family</li><li>5 : Private</li>
This method requires authentication with "read" permission.
Example response
%{"person" => %{"nsid" => "12037949754@N01", "privacy" => "1"}, "stat" => "ok"} Specs
Returns the default safety level preference for the user.
This method requires authentication with "read" permission.
Example response
%{
"person" => %{"nsid" => "12037949754@N01", "safety_level" => "1"},
"stat" => "ok"
}