facebook graph api - how to search for specific keywords in posts

做~自己de王妃 提交于 2019-12-12 03:18:49

问题


When using the graph api feed (https://developers.facebook.com/docs/graph-api/reference/v2.6/page/feed) to display feeds from a FB page, is it possible to pass in specific keywords to the query and only return those message posts containing those keywords?

Thanks a lot.


回答1:


No, that is not possible. Public Post Search is deprecated, and there is no way to search for keywords in a specific Page Feed either. Just get all the posts, chache them in your database and do the seach on your own.



来源:https://stackoverflow.com/questions/38189734/facebook-graph-api-how-to-search-for-specific-keywords-in-posts

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