Posted on Aug 11th, 2009 in
Flash Tutorials |
0 comments
How the process works is that first you login to Google Analytics, Google will then send you a token that you must use when asking for data. So we will have two simple PHP files; one to login in and one to ask for data.
The first one looks like this:
<?php
//this file is called get_token.php
$user = $_REQUEST[user];
$pass = $_REQUEST[pass]
require_once 'curl.php';
$curl = new Curl;
$response =...