Blogging and News Syndication Software

Blogger API, RSS API, Atom API, and more.
posts - 17, comments - 14, trackbacks - 26

My Links

News

Tortuga Components / Software Tools Home

See Also: Chilkat Software

Article Categories

Archives

Post Categories

Recommended

Blogger API C# Example: GetUserInfo (Blogger 1.0)

This example uses the Tortuga .NET component located at http://www.worldwideweb-x.com/TortugaDnBeta.zip. Information about other free components is located at http://www.worldwideweb-x.com/openData.html. Don't forget to add a reference to "TortugaDN.dll" to your C# or VB.NET project.
		    Tortuga.Blogger1 blogger1 = new Tortuga.Blogger1();
		    
		    blogger1.Login = "myLogin";
		    blogger1.Password = "myPassword";
		    blogger1.ServiceUrl = "http://www.livejournal.com/interface/blogger";
                    
		    bool success = blogger1.GetUserInfo();
		    if (success) 
		    {
			// Display the user info...
			listBox1.Items.Add("UserUrl: " + blogger1.UserUrl);
			listBox1.Items.Add("UserId: " + blogger1.UserId);
			listBox1.Items.Add("FirstName: " + blogger1.FirstName);
			listBox1.Items.Add("LastName: " + blogger1.LastName);
			listBox1.Items.Add("Email: " + blogger1.Email);
			listBox1.Items.Add("NickName: " + blogger1.NickName);
		    }

Print | posted on Friday, September 23, 2005 5:21 AM |

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: