为什么我的赞框没有显示任何面孔?
我有一个使用此代码生成的赞框:
<fb:like-box href="http://www.facebook.com/pages/Browser-Games/260061187354628" width="250" show_faces="true" stream="false" header="true"></fb:like-box>
SDK 的加载方式如下:(
FB.init({appId: '111929132246901', status: true, cookie: true, xfbml: true});
如果您想查看完整的代码,网站是 ibrowsergame.it)
- 当我使用页面的管理员帐户登录时,我可以正确地看到facepile充满了照片。
- 如果我用其他帐户登录,则只有 2 个面孔。
这只是我的问题,还是每个人都因为隐私设置而遇到这个问题?
奇怪的是,只有 2 人愿意展示自己的个人资料照片(180 人中)。不是吗?
结果非常糟糕,因为如果没有显示面孔,我有大约 50px 未使用的空白区域。
I have a likebox generated with this code:
<fb:like-box href="http://www.facebook.com/pages/Browser-Games/260061187354628" width="250" show_faces="true" stream="false" header="true"></fb:like-box>
The SDK is loaded like this:
FB.init({appId: '111929132246901', status: true, cookie: true, xfbml: true});
(website is ibrowsergame.it if you want to see the full code)
- When I'm logged in with the page's admin account, I can see the facepile being correctly filled with photos.
- If I login with another account, there are just 2 faces.
Is this just a problem of mine, or is everyone experiencing this due to privacy settings?
It's strange that there just 2 people willing to display their profile photo (out of 180). Isn't it?
The result is pretty awful, because I have around 50px of unusued white space, if no faces are displayed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,您使用的是 facepile (如文本中所述)还是 like-box (如代码示例中所述)?
如果您使用的是facepile 插件,则此行为是按照设计的。该插件只会显示喜欢该页面/或应用程序的朋友的面孔。如果你的朋友都不喜欢它,那么它就完全是空白的。
First, are you using facepile (as stated in your text) or like-box (as stated in the code example)?
If you're using the facepile plugin, this behavior is as designed . The plugin will only show the faces of friends who've liked the page/ or app. If none of your friends like it, then it will be completely blank.