如何在 Google Buzz 上发帖?

发布于 2024-08-25 13:14:15 字数 34 浏览 4 评论 0原文

如何将消息发布到 Google Buzz?有API吗?

How can I post my message to Google Buzz? Is there an API?

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

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

发布评论

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

评论(5

眉目亦如画i 2024-09-01 13:14:15

它位于通常的位置:)

http://code.google.com/apis/buzz/

截至本回答时:

在接下来的几个月中,Google Buzz 将为开发者推出 API,包括使用 Atom 发布协议对帖子的完整/读写支持、使用 Activity Streams 进行丰富的活动通知、使用 OAuth 进行委托授权、使用 Salmon 进行联合评论和活动,使用 WebFinger 分发个人资料和联系信息等等。

It's in the usual place:)

http://code.google.com/apis/buzz/

As of the time of this answer:

Over the next several months Google Buzz will introduce an API for developers, including full/read write support for posts with the Atom Publishing Protocol, rich activity notification with Activity Streams, delegated authorization with OAuth, federated comments and activities with Salmon, distributed profile and contact information with WebFinger, and much, much more.

提赋 2024-09-01 13:14:15

如果您想发布短信,您可以使用更简单的方法。发送电子邮件至 [电子邮件受保护]

使用 Gmail 帐户的示例:

public static void Buzz(string message)
{
    string from, to, pass;

    from = "[email protected]";
    to = "[email protected]";
    pass = "yourpass";

    var smtp = new SmtpClient
    {
        Host = "smtp.gmail.com",
        Port = 587,
        EnableSsl = true,
        DeliveryMethod = SmtpDeliveryMethod.Network,
        UseDefaultCredentials = false,
        Credentials = new NetworkCredential(from, pass)
    };

    smtp.Send(from, to, message, String.Empty);
}

然后只需致电

Buzz("Hello world");

If you want to post short messages you can use a much more simple way. Send an email to [email protected].

Example using gmail account:

public static void Buzz(string message)
{
    string from, to, pass;

    from = "[email protected]";
    to = "[email protected]";
    pass = "yourpass";

    var smtp = new SmtpClient
    {
        Host = "smtp.gmail.com",
        Port = 587,
        EnableSsl = true,
        DeliveryMethod = SmtpDeliveryMethod.Network,
        UseDefaultCredentials = false,
        Credentials = new NetworkCredential(from, pass)
    };

    smtp.Send(from, to, message, String.Empty);
}

Then just call

Buzz("Hello world");
仅此而已 2024-09-01 13:14:15

There is an API: http://code.google.com/apis/buzz/docs/
There are also client libraries: http://code.google.com/apis/buzz/docs/libraries.html for Java, PHP and Python.

There are also "hyperlink" and Javascript APIs available: http://code.google.com/apis/buzz/buttons_and_gadgets.html

英雄似剑 2024-09-01 13:14:15

目前还没有 API 可以直接读取和写入动态流,但是 它正在开发中,并且“即将推出”

当然,有 API 可以将事物拉入流行流(连接的站点如何工作),因此您始终可以写入具有直接 API 的东西,然后连接它进入您的动态。

There is no API yet to read and write directly to and from a buzz stream, but it is in development and "coming soon"

There are of course APIs to pull things into a buzz stream (how connected sites work), so you could always write to something that does have a direct API and then connect that into your buzz stream.

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