Fbml 应用程序 - 选择朋友并在朋友的墙上发布新闻 - 新方法

发布于 2024-08-24 14:20:58 字数 195 浏览 5 评论 0原文

我是来自意大利的 Facebook 开发新手,抱歉,我的英语很差。 我想问您如何在我的 Facebook 应用程序中创建一个多好友选择器,以允许我的用户在好友墙上发布新闻。 我怎样才能让我的用户选择朋友,然后在他们的墙上向这些朋友发送新闻? 我不知道ajax,所以请你建议我一些我可以做的事情吗? 我注意到 Facebook 改变了做这件事的方式。 我正在使用fbml。谢谢。

I'm a newbie facebok developer from Italy Sorry, but my english is very poor.
I would like to ask you how to create in my facebook application a multi-friend selector to allow my users to post news on friend's wall.
How can I let my user select friends, and than send to those friends a news on their wall?
I 'don't know ajax, so please can you just suggest me something that I can do?
I notice that facebook has changed the way to do this thing.
I'm using fbml. Thank you.

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

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

发布评论

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

评论(2

挖个坑埋了你 2024-08-31 14:20:59

步骤 1:使用 https://developers.facebook.com/apps 创建 Facebook 应用程序

步骤 2:在 Heroku 的帮助下运行应用程序(可选)

第 3 步:这是 Graph API Explorer 的链接
https://developers.facebook.com/tools/explorer/?method =GET&path=me 选择字段
你需要的。

步骤 4:@user.put_wall_post("嘿,欢迎使用 Web 应用程序!!!!", {:name => "..."},
“id_of_your_friend”)
用于在访问

令牌中在您选定的朋友中发布到您的朋友 墙上

step 1: Create a facebook application by using https://developers.facebook.com/apps

step 2: Run the app with the help heroku (optional)

step 3: This is the link for Graph API Explorer
https://developers.facebook.com/tools/explorer/?method=GET&path=me select the fields
that you need.

step 4: @user.put_wall_post("Hey, Welcome to the Web Application!!!!", {:name => "..."},
"id_of_your_friend")
is used to post on your friends wall among your selected friends in access token

step 5: By implementing this code on your file your app can access to post on your friends's
wall

天生の放荡 2024-08-31 14:20:58

您需要在 Facebook Apps 中创建一个 facebook 应用程序,然后他们将为您提供一个密钥以及应用程序 ID,使用它您可以与 Facebook 连接。
要访问您的好友数据,他们需要添加您的 Facebook 应用程序。
如果您了解 PHP 那么您可以使用 Facebook SDK 使用您的应用程序积分执行这些操作。否则您可以使用 fbxml、javascript....

You need to create a facebook app in the Facebook Apps , then they will provide u one secret key as well as app id, using this you can connect with facebook.
To access your friends data , they need to add your facebook application .
If you know PHP then you can use the Facebook SDK to do these things using ur app credits.Otherwise u can use fbxml, javascript....

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