简体   繁体   English

Steam Web API:我在哪里可以找到公共/私人的个人资料状态?

[英]Steam Web API: Where I can find the profile status public/private?

Where can I find steam profile status? 我在哪里可以找到蒸汽轮廓状态? I mean public profile or private? 我是指公开个人资料还是私人资

According to oficial docs , you can check the communityvisibilitystate property: 根据官方文档 ,您可以查看communityvisibilitystate属性:

This represents whether the profile is visible or not, and if it is visible, why you are allowed to see it. 这表示配置文件是否可见,如果它可见,为什么允许您查看它。 Note that because this WebAPI does not use authentication, there are only two possible values returned: 1 - the profile is not visible to you (Private, Friends Only, etc), 3 - the profile is "Public", and the data is visible. 请注意,因为此WebAPI不使用身份验证,所以只返回两个可能的值:1 - 您看不到配置文件(Private,Friends Only等),3 - 配置文件是“Public”,数据是可见的。 Mike Blaszczak's post on Steam forums says, "The community visibility state this API returns is different than the privacy state. It's the effective visibility state from the account making the request to the account being viewed given the requesting account's relationship to the viewed account." Mike Blaszczak在Steam论坛上的帖子说:“此API返回的社区可见性状态与隐私状态不同。它是从请求帐户到查看帐户的有效可见性状态,因为请求帐户与查看帐户的关系。”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM