iphone 版 hackbook 的邀请好友功能在我的 iphone4s 上不起作用

发布于 2024-12-25 10:52:34 字数 384 浏览 3 评论 0原文

我从 https://github.com/facebook/facebook 下载了 hackbook -ios-sdk/tree/master/sample/Hackbook(*我不确定这是下载它的正确位置),因为我想知道如何从 iPhone 本机应用程序向朋友发送邀请。

我点击了“发送邀请”,然后在弹出的页面上,我选择了一个朋友(我的另一个Facebook帐户)并按下了“发送”按钮。 “请求发送成功。”显示在屏幕底部。

但我没有收到任何请求。

谁能告诉我怎么发邀请函,最好有样本。 提前致谢。

i downloaded hackbook from https://github.com/facebook/facebook-ios-sdk/tree/master/sample/Hackbook (* i am not sure this is the right place to download it), because i wanted to know how to send an invitation to a friend from a iphone native application.

i clicked "send invite", then on the pop-up page, I selected a friend(another facebook account of mine) and pushed "send" button.
"Sent request successfully." is displayed on the bottom of the screen.

but I don't get any request.

who can tell me how to send an invitation, better if there is a sample.
thanks in advance.

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

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

发布评论

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

评论(1

謸气贵蔟 2025-01-01 10:52:34

检查您的应用程序是否处于沙盒模式。未列为开发人员/测试人员的用户将不会收到他们无权查看的应用程序的邀请。


UPDATE:

As the OP has discovered (see comments below) - the problem was to do with not having a Canvas URL set up in the application settings.

我不是 100% 确定这是为什么(作为 iPhone 本机应用程序)。通读文档(再次:S)发现没有明确的画布 URL。我最好的猜测是,请求在被接受后需要能够重定向到某个地方,如果您不指定canvas URL,也许您会以某种方式使请求无效。
指定Canvas URL后,是否所有未发出的请求都出现了?

Check if your application is in sandbox mode. Users who are not listed as developers/testers will not receive invites to applications that they do not have the permissions to view.


UPDATE:

As the OP has discovered (see comments below) - the problem was to do with not having a Canvas URL set up in the application settings.

Im not 100% sure why this is ( being an iPhone native application ). Reading through the documentation ( once again :S ) revealed no stated requirement of the Canvas URL. My best guess is that the request needs to be able to be redirected somewhere after it is accepted, if you dont specify the canvas URL maybe somehow you invalidate the request.
Did all the requests that did not go out appear once you specified the Canvas URL?

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