FQl and Graph API: is tehre a way to get “hidden posts” in a page's wall (feed/stream)

a 夏天 提交于 2019-11-27 03:38:30

问题


In FQL and Graph APi, i am no longer able to get all posts in a page's feed (stream FQL table), i don't see hidden posts, even if i put "... WHERE (is_hidden = 0 OR is_hidden = 1)"


回答1:


in https://developers.facebook.com/docs/reference/fql/stream/ there is no documentation on is_hidden flag on the columns list.

But there is only one example (the first one on that page) that uses this flag.

In https://developers.facebook.com/docs/reference/fql/stream_filter/ there is a flag called is_visible

I don't know... but if I was in charge of documentation or the API, I would put an is_hidden flag on stream/feed

But there must be some methods we could get the hidden filtering option from the API. but since the facebook documentation is so awesome, I just can not find it...

So please direct us to the right direction facebook people ;)




回答2:


Use in the where clause (is_hidden OR is_published)

For instance SELECT message, is_hidden FROM stream Where source_id = [page_id] and (is_hidden or is_published)



来源:https://stackoverflow.com/questions/7041039/fql-and-graph-api-is-tehre-a-way-to-get-hidden-posts-in-a-pages-wall-feed-s

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