我可以查看当前登录的是哪个 Twitter 用户吗? [英] Can I see which Twitter user is currently logged in?

查看:45
本文介绍了我可以查看当前登录的是哪个 Twitter 用户吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

他们没有在我的网站上进行 OAuthed,而是在该浏览器上登录 Twitter.有什么办法可以让我知道他们的 Twitter 用户名?饼干.. 什么?

They are not OAuthed with my site but are logged into Twitter on that browser. Any way for me to know their Twitter username? Cookies.. anything?

推荐答案

除非某些事情非常糟糕或 Twitter 明确提供了用于此目的的 API,否则不会.至少不是通过 cookie.

Unless something is very broken or Twitter has explicitly provided an API for that purpose, no. Not through cookies at least.

Cookie 被沙盒化到创建它们的域中.不允许跨域访问 cookie.

Cookies are sandboxed to the domain that created them. No cross-domain access to cookies is allowed.

这篇关于我可以查看当前登录的是哪个 Twitter 用户吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆