是否可以在用户的​​墙/饲料/自动收报机上发布opengraph而不运行我自己的服务器? [英] Is it possible to post opengraph on users' wall/feed/ticker WITHOUT running my own server?

查看:114
本文介绍了是否可以在用户的​​墙/饲料/自动收报机上发布opengraph而不运行我自己的服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Facebook开发的新手,我仍在努力弄清楚Facebook开发的工作原理。

所以我的应用程序是专为iOS设计的,想要发布一个我的用户的Facebook页面/ feed / ticker上的

我希望该应用发布各种动作类型对于我的应用程序可以执行的各种可能操作。

我想了解。如果应用程序只是发布到Facebook,并且facebook具有我对我的facebook-app所做的所有定义,这意味着它知道在哪里链接ACTION,它知道在哪里链接OBJECT。当我的用户通过用户设备上的应用程序发布时,将提供Facebook的额外内容....
为什么我需要运行服务器?

I am new to facebook development and I am still trying to figure out how things work for facebook development.
So my app, which is designed for iOS, wants to post an action post on my users' facebook page/feed/ticker.
I want the app to post various action types for all kinds of possible actions my app can do.
I want to understand. If the app simply posts to facebook, and facebook has all the definitions I made to my facebook-app, meaning it knows where to link the ACTION, it knows where to link the OBJECT. The extra stuff need for facebook will be supplied when my users posts by the app on the users device.... Why do I need to run a server ?

推荐答案

这就是定义开放图谱协议的方式(ogp.me)。对象作为网页存在,以便用户拥有更丰富的Web体验。当非移动用户在他的自动收报机上看到操作时,他必须有办法与您的对象进行交互。

This is how the Open Graph Protocol is defined (ogp.me). Objects exist as web pages for users to have richer web experiences. A non-mobile user must have a way to interact with your object when he sees the action on his ticker.


Open Graph协议启用任何网页成为社交图中的丰富对象。例如,这在Facebook上用于允许任何网页具有与Facebook上任何其他对象相同的功能

The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook

要将网页转换为图形对象,您需要向页面添加基本元数据。我们在RDFa上建立了协议的初始版本,这意味着您将在网页中添加其他标签。

To turn your web pages into graph objects, you need to add basic metadata to your page. We've based the initial version of the protocol on RDFa which means that you'll place additional tags in the of your web page.

这篇关于是否可以在用户的​​墙/饲料/自动收报机上发布opengraph而不运行我自己的服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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