[英]Facebook OAuth 2.0 Login Icons not showing
So when I use Facebook's PHP SDK 3.0.1, using their example.php (you can find it all here ), I cannot get the nice icons (like you might see on the right side of groupon's signup site: https://www.groupon.com/users/new ). So when I use Facebook's PHP SDK 3.0.1, using their example.php (you can find it all here ), I cannot get the nice icons (like you might see on the right side of groupon's signup site: https://www .groupon.com/users/new )。
The weird thing is that when I use an older version, like 2.1.2, they appear just fine if I add the following two lines (the ones inside the double asterisk) to facebook.php:奇怪的是,当我使用旧版本(如 2.1.2)时,如果我将以下两行(双星号内的行)添加到 facebook.php,它们看起来就好了:
public static $CURL_OPTS = array(
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_USERAGENT => 'facebook-php-2.0',
**CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => 2**
);
Any help on this?对此有什么帮助吗? I would like to be using the most recent version of Facebook's PHP SDK, but I can only get a plain text "Login with Facebook" rather than the nice icon.我想使用最新版本的 Facebook 的 PHP SDK,但我只能得到纯文本“使用 Facebook 登录”而不是漂亮的图标。
Try to make sure that the icon has both the correct path set and the correct permissions尝试确保图标具有正确的路径集和正确的权限
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.