Mobile app version of vmapp.org
Login or Join
Chiappetta492

: Google analytics api from desktop which method to use clientlogin, authsub, oauth I have written a simple php program to fetch google analytics data. I did this to test how to authenticate and

@Chiappetta492

Posted in: #GoogleAnalytics

I have written a simple php program to fetch google analytics data. I did this to test how to authenticate and how to get data feeds. it is working well.

Actually my plan is to display a small window which will update with analytics data at certain time intervals. I will use .net to do so.

Currently i am using clientlogin method. authsub is meant for web apps and oauth seems to be tedious i guess.

Shall i be with clientlogin method or do i have to switch on to another.

With other methods we dont have to mention usename and passwords where as in clientlogin method we have to mention username and password.

Expecting suggestins, comments and answers.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Chiappetta492

1 Comments

Sorted by latest first Latest Oldest Best

 

@Rambettina238

Are you planning on releasing this code as something that a user will use on their own computers, or is this an internal app for your own use?

If this is a tool that you'll be releasing, Google suggests using oAuth, so that you don't have to collect and pass any credentials. If this app is for your own use then you will be fine passing your username and account info the way you are now.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme