2/account/update privacy/en
account/update_privacy
Update privacy setting of authenticating user.
URL
https://api.weibo.com/2/account/update_privacy.json
Supported Formats
JSON
HTTP Request Method
POST
Requires Login
true
See the Login and Authorization Mechanism Statement for login and authorization details.
Requests Count Limitation
Level:Advanced ( Authorization Required )
Count Limitation:true
See the Interface Access Rights Statement for the request count limitation details.
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth.The value of this parameter is the AppKey. |
access_token | false | string | This parameter is required when using OAuth.You will get the access_token after oauth authorization. |
comment | false | int | Who can comment authenticating user's weibos. 0:All users; 1: Friends; |
geo | false | int | Whether allow saving and displaying geographical informations in weibos. 0:No; 1: Yes; |
message | false | int | Who can send direct message to the authenticating user. 0:All users; 1: Friends; |
realname | false | int | Whether allow other users find me by real name through the search engine. 0:No; 1: Yes; |
badge | false | int | Medal status. 0: private; 1: public; |
mobile | false | int | Whether allow other users find me by mobile numbers. 0:No; 1:Yes; |
Notes
None
Response
JSON Example
{ "badge": 1, "comment": 0, "geo": 1, "message": 1, "mobile": 1, "realname": 0 }
See the Error Code Description for the error information details.
Field Description
None
Others
None