Programatically adding "Birthday" to Google Contacts using Google contact API? - c#

I am trying to add "Birthday" value to Google Contact using Google Contact API (C#).
Can anyone help me out here.
I am using Google Data API Setup(1.4.0.2).
I got one solution as specified on this link
But to implement accepted solution i need to upgrade to the latest version of the client library i.e API 3.0.
But for .Net i am not getting Version 3 API.
What should i do in such situation?
Thanx

The answer is here:
http://www.google.com/support/forum/p/apps-apis/thread?tid=5dfdb7ff0609cb80&hl=en
The .NET client library only uses Version 2... Birthday API functions are availble in Verison 3. My suggestion is to recompile the .NET client library using Version 3 of the API and try to iron out a few things of the errors yourself. It's a good exercise for fun and certainly not impossible.
Much better answer than just saying "It's impossible".

You might want to check the API Documentation of Google Contact APIs for .NET.
There is an example on that Exact page on how you add contacts.

Related

How to update content via Google Sites API?

My apologies if this has already been requested/answered before, but I'm having a hard time trying to find information on the web about this. I've been tasked to find a way to directly update the content of a Google Sites page (Such as a text box or image) using the API.
I've been looking about the web for examples of doing this using C#, and have not found much to go by. I have some experience with writing/calling REST and SOAP APIs, but I can't seem to work out what Google uses for its API.
I'm struggling as to how I approach this, as the few examples I have found don't really walk through the code, so they leave me little to understand in order to manipulate it to what I want to achieve. One site I did find was Sites API Demo
Does anybody have any examples, or able to provide a simple example of updating content on a Google Site?
I appreciate any help you can give.
Mark
I realise this is an old question, but I have successfully updated the content of a google sites page using the library provided here, and following the example in the wiki.
I compiled the source as a .dll and added it as a reference to my project.

PayPal API, finding the right one

I need to add the option to pay with PayPal in my web site.
I would like to have a API where i can send PayPal the information and get back right away the transaction ID so i can save it in my DB.
What API will be best for me? Is there a way to do this? I saw they have this list:
list
Also do you know were i can find good examples for this? my app is ASP.NET c#
I know this a very beginner question, what i really need help with this.
Thank you
EDIT
I started working with something but then found a problem I posted a new question here
question
If all you need is simple Credit Card and PayPal Wallet payments - just use our new Restful Payment APIs - https://developer.paypal.com/webapps/developer/docs/api/
They are much more cleaner and simple APIs to begin with if that's all the payment functionality you need.
You can refer below links:
http://www.codeproject.com/Questions/453595/Paypal-Integration-in-asp-net
http://www.codeproject.com/Tips/474197/PayPal-Gateway-Integration-in-ASP-NET
http://paypaldeveloper.blogspot.in/2009/02/how-to-integration-paypal-with-aspnet-c.html
http://www.dotnetfunda.com/articles/article928-online-payments-using-paypal-integration-with-aspnet.aspx
I hope these links will help you.. :)
There is an up-to-date sample code for PayPal C# api on that page PayPal C# API.
I believe that for beginners integrating with HTML API PayPal is probably the easiest and best way to get started.
This article is slightly outdated, but explains that option along with others in straightforward matter:
Introduction to PayPal for C# - ASP.NET developers
http://www.codeproject.com/Articles/42894/Introduction-to-PayPal-for-C-ASP-NET-developers

how to implement OpenID via c#

I want to implement a login system by using openid (for login with google, yahoo) for asp.net and asp.net mvc applications, I search over the Internet (and googled that and also stacked :D) but, there is nothing to guide me to implement this; all pages was about libraries (DotNetOpenId, DotNetOpenAuth, etc);
can anybody help me to understanding and implementing this? without other libraries? thanks.
check this out:
http://www.dotnetopenauth.net/
Edit:
Just re-read and you said no libraries.
Maybe these links will help you out:
http://oauth.net/documentation/getting-started/
This one has a specifications link:
http://openid.net/developers/

Source code to retrieve Google Adsense earnings?

Where to find source code to read google adsense account earnings ? any language welcome especially c#, php.
Update: I still don't have any source code until now that seem to work.
Unfortunately all of the other answers are using either deprecated API or are linking to 404 pages.
Google did release a new management API for AdSense which is well documented:
https://developers.google.com/adsense/management/
Documentation is here It's a very in-depth webservice that allows you not only to get access to reporting, but also create, modify, etc campaigns.
This is an interesting low-tech approach. It's featured on the CURL website. Could be re purposed for your application.
You could use this php library http://code.google.com/p/php-adsense-account-library/

How do I tweet, using the DotNetOpenAuth library?

I just downloaded the DotNetOpenAuth library and ran the AuthConsumer demo. It is an excellent library so far! Everything worked as advertised, which has not been my experience with a lot of Facebook and Twitter sample code that I have been working with recently.
What I am trying to figure out is: How do I tweet using this library? I am currently planning to implement this in ASP MVC, but my initial thoughts is that the presentation platform doesn't matter all that much at the level I'm looking at.
Take a look at the DotNetOpenAuth.ApplicationBlock sample, which includes the Twitter.cs file and the very few sample web method calls that that file has. You can see the pattern, and having looked at the Twitter API documentation on twitter.com, you can add methods to tweet and a bunch of other stuff.
However, it would probably be much easier for you to download LinqToTwitter, which uses DotNetOpenAuth and offers an extensive Twitter library to do most/all the operations Twitter supports.

Categories