Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

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.

share|improve this answer
    
Initially i am going to use it for my own purpose. Thought of writing a c program in .net to do this which will popup with latest details. If i want to use it anywhere then it is good to write in oauth. isn't it? –  Jayapal Chandran Apr 6 '11 at 6:30
    
It is. I think it would be good practice to use oAuth, considering it's adoption with systems like the Stack Exchange. –  MrGrigg Apr 6 '11 at 12:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.