c# - Google plus language programming using people.list -
As a new researcher, I am trying to get information about relationships between people of G +. I have to get another circle list for some research purposes. It seems that G +AAPA people provide a web version for people using OAuth2 tokens. My question is, do people support programming languages such as C #, Java? I tried with C # but it was being blocked by the server.
Is there a way for people to apply in C #, Java etc? If so, are there some samples?
Thank you very much.
The following is my related C # code:
var provider = new resident application client (GoogleAuthenticationServer.Description) {ClientIdentifier = credentials.ClientId, ClientSecret = credentials.ClientSecret} ; Var auth = new OAuth2Authenticator & lt; Native Applications Client & gt; (Provider, GetAuthorization); Var servicelist = New Plus Service (new BaseClientService.Initializer () {Authenticator = auth}); String user id = "*************"; LogarSource.listrequest circle = circistician.log.list (userid, new pepperSource.cololution ()); Circle.MaxResults = 5; Logfid Daniel Feeds = Circle Fate (); Private static IAuthorizationState GetAuthorization (Native Applications Client Arg) {IAuthorizationState State = New Authority Location (New [] {Task EsService.Spops Task .GetString Value (Tasks) }); state. Callback = new uri (native applications client. Oatoff bank callback url); Uri AUuthUri = arg.RequestUserAuthorization (state); Process.Start (authUri.ToString ()); Console Type ("authorization code:"); String authCode = Console.ReadLine (); Console.WriteLine (); Return arg.ProcessUserAuthorization (authCode, state); }} Program "Logfid Danielfeed = Circle. Ft ();" But goes wrong; "I think that I have already passed the option token in the people.list function named" orth ". Can you give me some advice?
Google has a complete API, and does not block any language.
You can use C #, and just use C # How to consume a REST API in. C # class is the HTTP client class you want to use. It is very well documented and online t There are lots of eTorrent, as well as on SO.
Comments
Post a Comment