点赞框 - 显示“签到”而不是最近的帖子?

发布于 2024-12-03 07:22:46 字数 262 浏览 0 评论 0原文

我刚刚添加了一个 Facebook Like Box,按照此处开发人员页面上的说明:https://developers.facebook.com/docs/reference/plugins/like-box/

该页面表示它应该显示该页面的最新帖子。然而,在我的网站上,它只在页面上显示“友好活动”提要,这似乎只是已登记到餐厅的人。是因为它是一个“地方”才这样做吗?我可能需要将其作为一项业务而不是位置来调整提要?

是否有某个地方的设置会改变这个或其他东西?其他方面我不知道!

I just added a Facebook Like Box, per the instructions on the developers page here:https://developers.facebook.com/docs/reference/plugins/like-box/

The page says it should show recent posts from the page. However, on my site, it only shows the "friendly activity" feed on the page which seems to be ONLY the people that have checked in to the restaurant. Is it because its a "place" that its doing this? And I may need to make it a business rather than location to adjust the feed?

Is there a settings somewhere that will change this or something? Other wise I have no idea!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

征棹 2024-12-10 07:22:46

将此参数添加到您的 Like Box 代码中:

&force_wall=true

该参数列在 Like Box 页面,但 Facebook 忘记将其作为选项包含在创建 Like Box 代码的工具中。

Add this parameter to your Like Box code:

&force_wall=true

The parameter is listed in the "Attributes" section of the Like Box page, but Facebook forgot to include it as an option in the tool that creates the Like Box code.

默嘫て 2024-12-10 07:22:46

要扩展此“force_wall - 对于地点,指定流是否包含来自地点墙上的帖子或仅包含来自朋友的签到。默认值: false。”

因此,在第二段代码(不是脚本)中,您需要添加与此类似的force_wall参数:

<div class="fb-like-box" data-href="http://www.facebook.com/pages/XXXXXXXXXXXXXX" data-width="595" data-show-faces="true" data-stream="true" data-header="true" force_wall="true"></div>

To expand on this "force_wall - for Places, specifies whether the stream contains posts from the Place's wall or just checkins from friends. Default value: false."

So in the second bit of code (not the script), you will need to add the force_wall parameter similar to this:

<div class="fb-like-box" data-href="http://www.facebook.com/pages/XXXXXXXXXXXXXX" data-width="595" data-show-faces="true" data-stream="true" data-header="true" force_wall="true"></div>
我们只是彼此的过ke 2024-12-10 07:22:46

我认为这应该是 data-force-wall="true" ,但它仍然没有效果...看来这个问题确实与仍然使用“.../pages/...”段的 facebook URL 有关

I think this should be data-force-wall="true" , but it still has no effect... it seems this issue really relates to facebook URLs that still use the ".../pages/..." segment

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文