Hey guys,

 i am in dire situation to use Google Spreadsheets.
 I am using credentials method for authorisation.

 SpreadsheetsService service = new SpreadsheetsService("ApplicationName");

When I am writing this line, error comes saying File Not Found.....
 Please help...what should I write in place of ApplicationName???

Further when I am using OAuth2 method,
string CLIENTID = "some client id";
         string SECRET = "some secret";
         string SCOPE = "https://spreadsheets.google.com/feeds
https://docs.google.com/feeds";;
         string REDIRECT_URL = "urn:ietf:wg:oauth:2.0:oob";

         OAuth2Parameters parameters = new OAuth2Parameters()
         {
             ClientId = CLIENTID,
             ClientSecret = SECRET,
             Scope = SCOPE,
             RedirectUri = REDIRECT_URL,

         };
        string authorizationUrl =
OAuthUtil.CreateOAuth2AuthorizationUrl(parameters);




        MessageBox.Show("Please visit the URL above to authorize your OAuth
"
           + "request token.  Once that is complete, type in your access
code to "
          + "continue...  " + authorizationUrl);

         parameters.AccessCode = tb1.Text;

         OAuthUtil.GetAccessToken(parameters);
         string accessToken = parameters.AccessToken;
         Console.WriteLine("OAuth Access Token: " + accessToken);


         GOAuth2RequestFactory requestFactory = new
GOAuth2RequestFactory(null, "GenericFestApp", parameters);
         SpreadsheetsService service = new
SpreadsheetsService("GenericFestApp");
         service.RequestFactory = requestFactory;

there is an error coming
Method not found: 'System.Text.StringBuilder
System.Text.StringBuilder.AppendFormat(System.String, System.Object,
System.Object)'.

I think this is because I am using spreadsheet api version 2.2

I am unable to find version 3.0

PLEASE HELP

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to