Facebook/MVC2 集成

发布于 2024-11-01 23:44:18 字数 302 浏览 0 评论 0原文

所以你知道,当你登录 Facebook 时,你会看到你的新闻源,并说有人发来一条更新,比如:

“这项技术太酷了!”发布 通过 SelectiveTweets(徽标)

我如何为我的网站实现此功能,以便用户可以访问我的网站,他们在我的网站上写的任何评论也将发布到他们的 Facebook 墙上,并带有我的小标语和小徽标。我需要为此付费吗?或者可以在他们的免费 API 中使用吗?

我知道如何连接到他们的 API,并执行所有基本操作,但我要询问的是这个特定功能。

谢谢。

So you know when you sign onto Facebook and you see your news feed, and say theres an update from someone that says like,

"This technology is so cool!" posted
via SelectiveTweets (logo)

How can I achieve this functionality for my website, so users can go to my site, and whatever comment they write on my site, will get posted to their Facebook wall as well, with my little tagline and small logo. Do I need to pay for that or is that available in their free API?

I know how to connect to their API, and do all the basic stuff, but it was this specific functionality I was inquiring about.

Thanks.

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

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

发布评论

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

评论(1

花心好男孩 2024-11-08 23:44:18

“这项技术太酷了!”发布
通过 SelectiveTweets(徽标)

这意味着相关用户已授权 SelectiveTweets 应用程序在其留言墙上发布内容,并且该应用程序实际上已代表用户将内容发布到留言墙上使用 Graph API。在这种情况下,我怀疑应用程序订阅了用户的推文,如果它们符合特定条件,则将它们发布到他们的墙上。

就您的情况而言,您仍然需要一个请求发布到用户墙的权限的应用程序,然后只要启用您的应用程序的用户在您的网站上发表评论,您就需要执行此操作。您的应用程序将驻留在您的网站上,并使用访问令牌代表用户发布墙贴。

"This technology is so cool!" posted
via SelectiveTweets (logo)

This means that the user in question has authorized the SelectiveTweets application to post to their wall, and that the application has then actually posted to the wall on the user's behalf using the Graph API. In this case, I suspect the application subscribes to the user's tweets, and posts them to their wall if they match a certain criterion.

In your case, you would still need an application that requests permission to post to the user's wall, and then you would do that whenever a user who has enabled your application makes a comment on your web site. Your application would live on your web site and use an access token to make wall posts on the user's behalf.

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