How can I post my message to Google Buzz? Is there an API?
How to post on Google Buzz?
390 views Asked by Lennie De Villiers AtThere are 5 answers
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.
Buzz API are available now. http://googlecode.blogspot.com/2010/05/introducing-google-buzz-api.html
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
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");
It's in the usual place:)
http://code.google.com/apis/buzz/
As of the time of this answer: