zend framework - Using OAuth 2.0 to Access Google APIs (Specifically Blogger) (PHP) -
Using Google's tutorials, I am trying to access the Blogger API using the Oath 2.0 authentication method. I have successfully authenticated with OAuth, but I do not know how to use APIs.
Run all their example objects $ gdclient - If you use the AuthSub method, then Zend_Gdata_AuthSub :: getHttpClient ($ _ session is set to [session1Token] ); However, I think that if you have authenticated with OAuth2.0, then what does it look like to set $ gdclient! Any help please? The rest of the examples are straight forward, but as I have said, they run away from all $ gdclient, which I have not been able to set yet. Blogger API Tutorial: OAuth 2.0: Thanks! Type the title: $ user = 'user @ example .com '; $ Pass = 'secret password'; $ Service = 'blogger'; $ Client = Zend_Gdata_ClientLogin :: getHttpClient ($ user, $ pass, $ service, zero, Zend_Gdata_ClientLogin :: DEFAULT_SOURCE, blank, zero, Zend_Gdata_ClientLogin :: CLIENTLOGIN_URI, 'GOOGLE'); $ GdClient = new Zend_Gdata ($ customer);
Comments
Post a Comment