Facebook API 通过关键字获取结果 [英] Facebook API get results by keyword

查看:33
本文介绍了Facebook API 通过关键字获取结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过 Facebook APIS 获取所有帖子和人们谈论特定主题的信息?

Is there a way with the Facebook APIS to get all the posts and people talking about a specific thread?

例如,我想获取所有关于耐克的帖子.

For example, I want to get all the posts that are about Nike.

只要找到关键字 Nike,它就会返回帖子 ID、作者 ID 等等.等等.这可以通过 Twitter API 实现.但是 Facebook 的呢?有什么方向吗?谢谢!!

Whever it finds the keyword Nike, it will return the post ID, Author ID etc.. etc.. This is possible with the Twitter API. But what about the Facebook ones? Any direction? Thanks!!

推荐答案

好吧,有一个解决方案可能对您有所帮助:

well, there is one solution that might help you:

https://graph.facebook.com/search?q=keyword&type=post

类型也可以是页面"、组"等等.

the type can also be "page", "group" and whatnot.

公共帖子搜索已弃用,不再有效.使用搜索 API 查看所有可能性的文档:https://developers.facebook.com/docs/graph-api/using-graph-api#search

这篇关于Facebook API 通过关键字获取结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆