Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否有任何简单的方法可以获取当前登录 Facebook 的用户的名称 [作为 PHP 中的变量]。问题是,我不希望他们不得不继续接受诸如给予许可之类的任何事情。
有没有办法做到这一点?
谢谢,汤姆。
PS 图片最业余的 PHP 程序员——我比他还差。
当然你不能在没有用户 ID 的情况下得到名字,这需要一点权限你也可以检查这个问题Get user name from graph api