简体   繁体   English

隐藏除状态之外的Facebook页面墙贴

[英]Hide Facebook page wall posts apart from Statuses

I am pulling in a facebook feed into a website I am devloping. 我正在将Facebook提要引入我正在开发的网站中。 I have got the feed to pull through but unfortunately it shows posts made onto the page by other Facebook users. 我已经获得了提要,但不幸的是它显示了其他Facebook用户在页面上发布的帖子。 I want the feed to only show wall posts made by the page. 我希望供稿仅显示页面制作的墙贴。 Is this possible? 这可能吗?

Here is the URL i am using to pull in the feed: 这是我用来提取供稿的URL:

https://graph.facebook.com/HadleighSwimmingPool/feed?access_token=292423037531408|0cc972ba47bcdafed97f3d01a2a3bd77&limit=1 https://graph.facebook.com/HadleighSwimmingPool/feed?access_token=292423037531408|0cc972ba47bcdafed97f3d01a2a3bd77&limit=1

Thanks 谢谢

As @CBroe said, you can use Facebook Query Language . 正如@CBroe所说,您可以使用Facebook查询语言

Here's the FQL query you need: 这是您需要的FQL查询:

SELECT message FROM stream WHERE source_id=[page-id] AND actor_id=[page-id]

For testing you can use the graph api explorer tool . 为了进行测试,您可以使用graph api资源管理器工具

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM