Like Box - Showing “check in's” rather than recent posts?

断了今生、忘了曾经 提交于 2019-12-22 12:43:27

问题


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!


回答1:


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.




回答2:


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>



回答3:


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



来源:https://stackoverflow.com/questions/7345633/like-box-showing-check-ins-rather-than-recent-posts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!