tks, but now have new problem, return Error 401 , my string
authentification is with : "AuthSubRequest" return a token, after
written
GAuthSubRequestFactory authFactory = new GAuthSubRequestFactory("cp",
"Tigabytes");
authFactory.Token = (String) Session["token"];
// Service ServiceContact = new
Service(authFactory.ApplicationName);
Service ServiceContact = new Service("cp", "prueba-
contactTest-1");
ServiceContact.setUserCredentials("edwin.mondaca%40gmail.com",
"edwin1148");
ServiceContact.SetAuthenticationToken(authFactory.Token);
// ServiceContact.RequestFactory = authFactory;
Google.GData.Client.FeedQuery query= new FeedQuery();
//query.Uri = new Uri("http://www.google.com/m8/feeds/contacts/
[EMAIL PROTECTED]/base");
query.Uri = new Uri("http://www.google.com/m8/feeds/default/
base");
and so.... Error Number 401 :
somebody nows whatfuck going on
On 26 mar, 12:58, "Jeff Fisher (Google)" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> For support using the Contacts API please visit the Contacts forum:
>
> http://groups.google.com/group/google-contacts-api
>
> The following was translated
> withhttp://translate.google.com/translate_t?langpair=en|es
> and may be weird sounding:
>
> Para apoyar los contactos usando la API por favor visite el foro
> Contactos:
>
> http://groups.google.com/group/google-contacts-api
>
> Cheers,
> -Jeff
>
> On Mar 25, 8:59 pm, fox666 <[EMAIL PROTECTED]> wrote:
>
>
>
> > Al intentar recuperar los contactos en c# me da el siguiente error:
>
> > Error processing request: Google.GData.Client.GDataRequestException:
> > Execution of request failed: http://www.google.com/m8/contacts/feeds/[EMAIL
> > PROTECTED]/base
> > ---> System.Net.WebException: Error en el servidor remoto: (404) No
> > se
> > encontró. en System.Net.HttpWebRequest.GetResponse() en
> > Google.GData.Client.GDataRequest.Execute() --- Fin del seguimiento de
> > la pila de la excepción interna --- en
> > Google.GData.Client.Service.Query(Uri queryUri, DateTime
> > ifModifiedSince) en Google.GData.Client.Service.Query(FeedQuery
> > feedQuery, DateTime ifModifiedSince) en
> > Google.GData.Client.Service.Query(FeedQuery feedQuery) en
> > ASP.contactos_aspx.PrintContact() en
>
> > El codigo que uso es:
> > GAuthSubRequestFactory authFactory = new
> > GAuthSubRequestFactory("cp", "Tigabytes");
> > authFactory.Token = (String) Session["token"];
>
> > // Service ServiceContact = new
> > Service(authFactory.ApplicationName);
> > Service ServiceContact = new Service("cp", "prueba-
> > contactTest-1");
> > ServiceContact.setUserCredentials("correo", "clave");
> > ServiceContact.SetAuthenticationToken(authFactory.Token);
> > // ServiceContact.RequestFactory = authFactory;
> > Google.GData.Client.FeedQuery query= new FeedQuery();
>
> > query.Uri = new Uri("http://www.google.com/m8/contacts/feeds/
> > [EMAIL PROTECTED]/base");
>
> > try
> > {
> > AtomFeed calFeed = ServiceContact.Query(query);- Ocultar texto de
> > la cita -
>
> - Mostrar texto de la cita -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---