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/