Connecting to the Google Sites API as a “Service Account”
I am trying to read a feed from a Google Sites account (Google apps). I don't need my app to require every user to login so i created my ClientID as a "Service Account" in the "Google API console". I have added this Client ID and the scope (https://sites.google.com/feeds/) to the "Mange API client access" page in my google apps control panel. I connect using the code below, all constants are defined in my code with the right values. // api dependencies require_once(GOOGLE_API_PATH); // create client object and set app name $client = new Google_Client(); $client->setApplicationName(GOOGLE_API