简体   繁体   English

如何在自己的墙上按Facebook页面获取帖子?

[英]How do I get posts by facebook page on it's own wall?

I thought this would be the most trivial thing in facebook api but I can't seem to figure it out. 我以为这将是Facebook API中最琐碎的事情,但我似乎无法弄清楚。 I want to get posts by a facebook page on it's own wall. 我想在自己的墙上通过Facebook页面获取帖子。 That's all. 就这样。 /feed gives me posts by others mixed with page's posts. /feed由其他人给我的帖子与页面的帖子混在一起。 /posts gives me posts by the page on other peoples' wall mixed with it's own posts on it's own wall. /posts通过其他人的墙上的页面给我发帖,并在我自己的墙上混合它自己的帖子。 I only want the posts we see on the page's wall, when you choose "Posts by page". 当您选择“按页面发布帖子”时,我只想要我们在页面墙上看到的帖子。

/posts gives me posts by the page on other peoples' wall mixed with it's own posts on it's own wall. / posts通过其他人的墙上的页面给我发帖,并在我自己的墙上混合它自己的帖子。

This is not entirely correct. 这并不完全正确。 /posts gives the user's own posts, whether that may be in a comment or on a post by a fan on a page's timeline. /posts提供用户自己的帖子,无论是在评论中还是在页面时间轴上的粉丝发表的帖子中。

Pages cannot write on a user's timeline 页面无法在用户的时间轴上书写

Facebook also has intentionally added stories such as comments to the /posts endpoint so you will have to filter these out after. Facebook还故意在/posts端点上添加了诸如评论之类的故事,因此您之后必须将其过滤掉。

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

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