如何创建与邀请外部应用程序的Facebook应用程序? [英] How to create facebook app invited with an external application?

查看:126
本文介绍了如何创建与邀请外部应用程序的Facebook应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何从Facebook的图形数据(如应用程序要求等),但我想知道该怎么办,是允许应用程序创建通过HTTP / HTTPS一个Facebook应用程序请求(不使用实际的Facebook的台词)

I know how to retrieve data from facebook GRAPH (such as app requests, etc) but what I am wondering how to do, is allow an application to create a facebook application request via http/https (not using the actual facebook dialouge)

有一个后端系统,让应用程序(可能带有标识和安全令牌信息)手动创建应用程序邀请,使应用程序可以使用它自己的用户界面的邀请? (我已经看到了它在其他应用程序这样做,我知道必须有某种方式来做到这一点)

Is there a backend system to allow apps (with perhaps id and security token info) to manually create application invites so that an app can use its own UI for invitations? (I've seen it done in other apps so I know there has to be some sort of way to do it)

我已经看到了这个做了一个应用程序的一个例子是模拟人生社会,在那里你从他们的用户界面中选择你的朋友,那么的台词会弹出包含所有他们的名字和文本的邀请)

An example of an app I've seen this done is the sims social, where you select your friends all from their UI, then a dialouge pops up that has all their names and the text for the invite)

推荐答案

我认为这是他们的UI做的朋友选择和传递直通到发送对话框/ UI元素。带着几分聪明跟踪卡就可以了。

I think that is their UI doing the friend selecting and its passing thru to the Send Dialog/UI element. With a bit of clever tracking stuck on it.

我假设第二个对话框是一个Facebook的对话?

I'm assuming the second dialog is a Facebook Dialog?

我不认为你可以使用自己的UI实际邀请。同时为了将其发送某些时候你必须通过JavaScript API的已弹出一个Facebook的用户界面元素。它保持的Facebook看起来像Facebook的,因为你是在自己的围墙花园的一部分。

I don't think you can use your own UI for the actual invitation. At some point in order to send it you have to have popped a Facebook UI element via the Javascript API. Its part of keeping Facebook looking like Facebook, since you are in their walled Garden.

在做空。
你不能。
你必须使用一个Facebook对话接触Facebook用户,这是否是一个应用程序邀请或发送对话框。

In short. You can't. You have to use a Facebook Dialog to contact Facebook users, whether this is an App invite or a Send Dialog.

检查文档这里的邀请对话框。

Check the docs here for the Invite Dialog.

http://developers.facebook.com/docs/reference/dialogs/requests /

您可以通过它一堆Facebook的人的ID发送给

You can pass it a bunch of Facebook People ID's to send to.

这篇关于如何创建与邀请外部应用程序的Facebook应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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