集成 Facebook“撰写新消息”;弹出到我的网站

发布于 2024-11-05 19:25:12 字数 437 浏览 0 评论 0原文

我正在设计一个将与 Facebook 深度集成的网站。会员通过他们的 Facebook 帐户连接到该网站,并使用 Facebook 身份验证/许可来访问他们的好友列表和其他信息。

在某些情况下,我希望网站能够向用户好友列表中选定的人发送 facebook 收件箱消息(以用户启动的方式)。

我发现通过 Facebook 权限这是不可能的。

我的一个想法是让 Facebook 的“撰写新消息”弹出窗口叠加在我的网站顶部(就像单击用户个人资料页面上的“发送新消息”按钮时出现的那样)。然后,用户将键入一条消息并按发送(希望能够避免权限问题)。

我浏览过 facebook 开发者文档和论坛,但我的技术知识有限。我只是想知道这是否可能,并指出如何实现这一目标的材料方向(以便我在达到该阶段后可以将其传递给雇用的开发人员)

有关替代方案的任何帮助或建议将不胜感激!

皮特

I am designing a website that will be heavily integrated with facebook. Members connect to the site via their facebook accounts and facebook authentication/permission is used to access their friends list and other information.

There are instances in which I would like the site to be able to send facebook inbox messages to selected people from the user's friends list (in a user initiated manner).

I have discovered that this is not possible through facebook permissions.

One idea that I have is to have Facebook's "Compose New Message" popup to appear overlayed on top of my site (as would appear when clicking the "Send new message" button on a user's profile page). The user would then type a message and press send (hopefully circumventing the permissions issue).

I have browsed the facebook developer docs and forums, but my technical knowledge is limited. I just want to know if this is possible or not, and to be pointed in the direction of material on how this could be achieved (so that I can pass this on to hired developers once I reach that stage)

Any help or suggestions on alternatives would be gratefully received!

Pete

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

记忆で 2024-11-12 19:25:12

最接近目标的方法是使用发送按钮。但是,此按钮用于共享链接,这些链接通常是打开的图形页面。您可以指定一个虚拟的 href/链接,以便它显示一个空白页面。或者,如果您确实需要附加链接,那么就没有问题了。

使用 Graph API 消息对象 无法做到这一点。无论您向用户请求什么许可,该对象都没有发布权。它是只读的。只需查看扩展权限,它只是 read_mailbox - "READ_邮箱”。

即使 FQL 也无法帮助我们解决此问题。

此外,Facebook 正在迁移到新的消息系统。所以现在玩弄 is 是不可取的。

您现在可以做的是利用我上面提到的发送按钮

The closest you can be to your goal is using the Send Button. However, this button is used to share links, which are usually open graph pages. What you can to is specify a dummy href/link so that it shows a blank page. Or, better if you actually needed a link attached, then you have no problem.

There is no way of doing it using Graph API Message Object. There are no publishing rights to this object whatever permission you ask from the user. It is read-only. Just look at the extended permission it is only read_mailbox - "READ_mailbox".

Even FQL can't help us with this.

Also, facebook is in the process of migrating to a new messaging system. So playing around with is now is not advisable.

What you can do now is utilize the Send button I mentioned above.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文