创建 Facebook 应用程序的步骤,该应用程序将允许我们的用户将应用程序添加为页面上的选项卡、提供 ID 并从我们的服务器获取数据
我很难找到像我想要完成的事情,好像 FB 每 6 个月更新一次他们的做事方式。我发现的文档很难理解,而且我确信这不会太难。这就是我想要实现的目标:
我们运营一个 SaaS(简单来说:)需要允许用户提供表单 ID 并通过 iFrame 返回表单
产品管理希望能够为我们的客户提供 Facebook 上的应用程序,他们只需要添加表单 ID +标题,不关心我们的实际验证产品,只需获取一个 ID。
该应用程序将在其 Facebook 页面(和/或个人资料?)上显示为选项卡,选项卡的标题显示他们输入的内容,以及一个 iframe,其中 formId 作为源的参数。即:内容该页面选项卡的内容将是加载的 iFrame:
我们的想法是,如果我们的客户点击页面上的该选项卡,他们将看到此表单已加载。
这看起来并不应该过于复杂,但是我在查找信息/理解文档时遇到了很多麻烦,或者也许我以错误的方式处理它?
谢谢
I've had a hard time finding anything like what I'm trying to accomplish, seems as though FB updates their way of doing things every 6 months. The documentation I have found is hard to follow and I'm sure this can't be too hard. Here's what I'm trying to accomplish:
We operate a SaaS (in simple terms:) need to allow the user to provide a Form ID and return them a form via iFrame
Product management wants to be able to provide our customers with an app on Facebook where they would need to only add in their Form ID + Title, don't care about actual authentication with our product, just an ID to fetch.
The app would show up as a tab on their Facebook Page (and/or profile?) with the title of the tab showing what they entered and an iframe with the formId as the parameter to the source.. ie: the contents of that page tab would be a loaded iFrame: <iframe src="http://gotomyserver.com/fetch?FormId=123">
The idea is that our customers customers will see this form loaded up if they click on that tab on the page.
This doesn't seem like it should be overly complicated, however I'm having a lot of trouble finding information / understanding the documentation, or maybe I'm approaching it in the wrong manner?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您想要实现的目标是不可能的,至少因为同一应用程序不能根据显示的页面具有不同的标题。
我建议您制作提供表单服务的网络应用程序。每次用户想要创建应用程序都需要 5 分钟。您只需在页面选项卡 url 中插入相应的地址: http://gotomyserver.com/fetch?FormId =123并设置标题。即使您的客户也可以自己做到这一点。
将应用程序显示到 Facebook 页面需要复制/粘贴 URL。
What you're trying to achieve is not possible at least because the same app can't have different titles depending on the page it is shown.
I would recommend you to make web application that serves the forms. Creating app everytime a user wants takes 5 minute. You will just need to insert in page tab url the corresponding address: http://gotomyserver.com/fetch?FormId=123 and set the title. Even your clients can do that by themselves.
Displaying an app to a facebook page takes an url copy/paste.