function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SiddharthSiddharth 

Integrating Public sites to display data from google blogs?

Hi All,

I am trying to integrate public sites to show data from google blogs, but the issue is that everytime I fetch data I am asked to provide access to gdata API. I am using Google toolkit and AuthSub authentication process. Also I want this authentication process to be hidden from end user and should actually be once. Is there a API where i can send google signing credentials in URL and that returns me token to access my data anytime.

 

Thanks

Siddharth

Best Answer chosen by Admin (Salesforce Developers) 
Ron HessRon Hess

yes, the gdata toolkit has an example of fetching a token, you can also store that token and reuse it any number of times.

 

toolkit is here

 

auth code is here

 

did you start with this?

 

i added a few more files that show how you may use this

see these: 

 

http://code.google.com/p/apex-google-data/source/browse/trunk/google_data_toolkit/src/pages/authsub.page

http://code.google.com/p/apex-google-data/source/browse/trunk/google_data_toolkit/src/classes/AuthSubController.cls