在Facebook Graph API 2.0中获取用户名字段
老的Facebook Graph API有一个用户名字段,可用于创建人机可读的配置文件URL。我的用户名例如是sebastian.trug,其结果是一个Facebook配置文件URL http://www.facebook。 com / sebastian.trug 。
The "old" Facebook Graph API had a "username" field which could be used to create a human-readable profile URL. My username for example is "sebastian.trug" which results in a Facebook profile URL http://www.facebook.com/sebastian.trug.
使用Graph API 2.0 Facebook从/ me中检索出的用户数据中删除了用户名字段。
With Graph API 2.0 Facebook has removed the "username" field from the user data as retrieved from "/me".
是否有任何方式通过2.0 API获取这些数据,还是现在被视为不赞成使用的字段的用户名?
Is there any way to get this data via the 2.0 API or is the "username" now being treated as a deprecated field?
删除用户名,因为用户名是通过Facebook发送电子邮件的一种方式。
Facebook got rid of the username because the username is one way of sending emails via Facebook.
例如,给定url http:// www。 facebook.com/sebastian.trug
相应的Facebook电子邮件将是 sebastian.trug@facebook.com
the corresponding Facebook email would be sebastian.trug@facebook.com
如果通过电子邮件发送,将直接收到消息
(如果消息
设置设置为 public
),否则为其他
收件箱。
which, if emailed, would be received to messages
directly (if the message
setting is set to public
), otherwise to the other
inbox.