facebook - Facebook 的 Open Graph API 和它的 Graph API 有区别吗?

标签 facebook facebook-graph-api facebook-opengraph

Facebook 的 Open Graph API 和它的 Graph API 之间有区别吗?

最佳答案

是的,两者之间存在巨大差异。图形 API,引用自 documentation

The Graph API is the primary way to get data in and out of Facebook's social graph. It's a low-level HTTP-based API that you can use to query data, post new stories, create check-ins or any of the other tasks that an app might need to do.Most other APIs at Facebook are based on the Graph API.

简而言之,Graph API 提供了构成任何 Facebook 应用程序核心的 API。而 Open Graph API 由 Facebook 提供,因此应用程序可以创建自定义对象(如书籍、音乐或其他根据要求的真实世界对象)以及可以对它们执行的操作(如阅读、收听)。有了这个让 Facebook 和应用程序更具吸引力。引用自 documentation ,

The Open Graph lets apps tell stories on Facebook through a structured, strongly typed API. People use stories to share the things they're doing, the people they're doing them with and the places where they happen. Open Graph lets you integrate apps deeply into the Facebook experience, which increases engagement, distribution and growth.

另外,两者的关系可以概括为

Facebook's Open Graph allows you to define new objects and actions in a user's social graph, and the way that you create new instances of those actions and objects is via the Graph API.

关于facebook - Facebook 的 Open Graph API 和它的 Graph API 有区别吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16639799/

相关文章:

android - 我的自定义 Open Graph 对象的自定义属性未显示在共享对话框中

android - 缺少 SelectionFragment 类 - 基于 Android 的 Facebook 开发

android - Android Webview 中的 Facebook 页面

php - 使用 $facebook->api 从页面删除 Facebook 帖子

ios - Facebook SDK didLoad :result = null

facebook - 打开图 : custom properties not showing in post

javascript - Facebook 上的提示-许可吗?

javascript - Facebook 分享按钮使用动态 og 标签进行测验

php - Facebook Graph API 对于较大的数据调用速度较慢

query-string - 查询条从打开的图形 url 中删除