Click here to Skip to main content
16,019,764 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
While doing the authentication we struck with FileDataStore Path. It works fine up to compiling but its get failing at run time.
For reference below is the code for this.
Autenticated.credential = GoogleWebAuthorizationBroker.AuthorizeAsync(new ClientSecrets { ClientId = ******, ClientSecret = ******* },
new[] { *************, AnalyticsService.Scope.AnalyticsReadonly },
**********,
CancellationToken.None,
new FileDataStore(******)).Result;

Previously i built the solution for using Google Analytics Core API (c#), By using the links - http://www.reimers.dk/jacob-reimers-blog/added-google-analytics-reader-for-net and http://www.thecyberwizard.com/index.php/5/google-analytics-api-in-c-part-1/ . But it seems to be different with above one. Please any help on creating the complete solution.
Posted
Updated 11-Jul-14 2:54am
v2
Comments
ZurdoDev 11-Jul-14 7:18am    
Have you read google's docs and looked at their samples?
sql_779 11-Jul-14 7:43am    
Yes, but does not get a exact solution.
ZurdoDev 11-Jul-14 7:46am    
Perhaps it would help if you posted what you have by clicking improve question and then we can see exactly where you are stuck.
sql_779 11-Jul-14 8:54am    
question is updated, thanks for the help :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900