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 注册,但只允许在 facebook 上加入特定群组的人注册我的网站。有可能吗?
是的..获取登录用户的用户级别,然后检查facebook登录所需用户级别的用户级别。像这样 Y 登录到该站点。我们允许用户级别=6 的用户在 Facebook 上注册。所以当 Y 的用户级别是 6 时。然后检查
if($_SESSION['userlevel']==6){ <div class="fb-like" data-href="" data-send="true" data-width="450" data-show-faces="false"></div> }