用于自定义感觉/活动的Facebook API [英] Facebook API for custom feelings/activity
问题描述
我在Facebook API文档中进行搜索,但找不到所需的内容.因此,我正在寻找的是用于创建自定义DO动作的API.例如:
I was searching in the Facebook API documentation, but I can't find what I am looking for. So, what I am looking for is is there an API for creating your custom DO action. For example:
约翰·约翰森(John Johson)正在骑一辆自行车.
我想要的是将此"骑行"作为来自我应用程序的自定义单词发送.还有"自行车"作为自定义项. 我能想到的另一个示例是Facebook中正在运行的应用程序.当您开始运行该应用程序并将其与您的Facebook连接时,该应用程序会说.
What I want is to send this 'riding' as a custom word coming from my app. And also 'bike' as a custom item as well. The other example I can think about is the running apps in Facebook. When you start to run and connect the app with your Facebook the app can say.
John Johson使用 Runtastic 正在运行.
谢谢!
推荐答案
好吧,您在那方面太迟了.
Well, you’re a little too late on that one.
过去曾经有可能,它被称为自定义打开图操作"- https://developers.facebook.com/docs/sharing/opengraph/custom
That used to be possible, it was called Custom Open Graph Actions - https://developers.facebook.com/docs/sharing/opengraph/custom
但是这些东西现在已经过时了,您不能在新的应用程序中使用它们了(对于现有的应用程序,它们也将在一年内被删除),请参见
But those are now deprecated, you can not use them any more in new apps (and for existing ones, they will be removed within a year as well), see https://developers.facebook.com/docs/sharing/opengraph/custom-open-graph-deprecation
现在,您只能使用内置动作和对象, https://developers. facebook.com/docs/reference/opengraph
Now you can only use the built-in actions and objects, https://developers.facebook.com/docs/reference/opengraph
这篇关于用于自定义感觉/活动的Facebook API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!