google-plus-domains

How to create a instance of UserCredential if I already have the value of Access Token?

僤鯓⒐⒋嵵緔 提交于 2020-01-29 03:02:07
问题 So I have this code My question is how do I configure the UserCredential if I'm already authenticated via OAuth? The current scenario is the code will display another login page redirecting to google. Since I'm already authenticated via OAuth using asp.net MVC and I already have the token how to I get rid of the GoogleWebAuthorizationBroker and directly pass the token? string[] scopes = new string[] {PlusService.Scope.PlusLogin, PlusService.Scope.UserinfoEmail, PlusService.Scope

How to create a instance of UserCredential if I already have the value of Access Token?

核能气质少年 提交于 2020-01-29 03:01:11
问题 So I have this code My question is how do I configure the UserCredential if I'm already authenticated via OAuth? The current scenario is the code will display another login page redirecting to google. Since I'm already authenticated via OAuth using asp.net MVC and I already have the token how to I get rid of the GoogleWebAuthorizationBroker and directly pass the token? string[] scopes = new string[] {PlusService.Scope.PlusLogin, PlusService.Scope.UserinfoEmail, PlusService.Scope

Google Plus Creating a Post - Rest API -Forbidden

核能气质少年 提交于 2020-01-07 00:35:30
问题 I got this error message when I try to create a post to user's wall by calling this rest service. Can somebody help me? 回答1: You have to enable the Google+Domain API in the google api console.Then try again with your code. 回答2: To work with google plus domain api you need create account http://apps.google.com/ and then use this user to create post. But!!! They create posts domain restricted. I've not finde way how to create public post for now. 回答3: Share API available only for GSuite