tags:

views:

157

answers:

5

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

+9  A: 

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.

Nick Craver
A: 

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.

Tyler McHenry
+1  A: 

Buzz API are available now. http://googlecode.blogspot.com/2010/05/introducing-google-buzz-api.html

Gaurish
A: 

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

ade
+2  A: 

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");
BrunoLM