gdata-api

Can not get the Auth Token for GData After Authentication on App Engine

I would like to pull the Auth Token for the Gdata auth so that I can write to a google calendar. I am having issues getting the token after authentication so that I can send the token to the calendar service. I am using the default login screen provided by appengine (/_ah/login) and I am able to login and authenticate, however, I am una...

Google Calendar "other calendars" XML feeds

I'm building a webapp that leverages gdata-api to bring a user's calendars into the application. I'd like to also be able to bring their other calendars in as well, but can't find an XML feed for some of them. I've noticed that not all of the "other calendars" in Google Calendar have XML feeds. For instance, over a year ago I subscrib...

Adding an Event to a "specific" Google Calender with GData API

Hi, I'm trying to add an event to a specific calendar in google calendar and I just don't find how. Here's my code : CalendarService service = new CalendarService("MyTEst"); service.setUserCredentials("Username", "Password"); EventEntry entry = new EventEntry(); // Set the title and content of the entry....

update attachment is not working on google sites

I need to update an existing attachment on a site using the java client library. I was using updateMedia() of SitesService successfully until a few days back when it started to fail when sites api was updated to v1.1(I took the new jars); I get the following exception: com.google.gdata.util.InvalidEntryException: Bad Request Invalid par...

How to publish a dynamic event feed for google calendar?

I'm building a webapp that manages certain types of events for users. I want to provide a way to display those events inside of a user's google calendar. What I was really hoping for was a way to publish my own google calendar compatible feed and allow users to subscribe to it, like they can subscribe to "interesting calendars". So th...

Is it possible to submit batch processing requests with the Python Youtube API?

I'm writing an application using Python that adds videos to a user's playlist on Youtube. Doing this one at a time causes Youtube to start throttling my requests. There is a batch processing API that allows you to submit 50 requests at once, but I can't find out from the docs how to submit a batch processing request. The only informatio...

I can't delete an Event Feed with Google data API

Hi Guys I'm trying to delete multiple events from the Google Calendar API (From a date range). I get the feed correctly, this is not the problem. The probleme is the delete function. I get this error : "Error: You must specify an URI to which to post." Can somebody please help me! Thank You $service = new Zend_Gdata_Calendar($clien...

Reading a document's content from the gdata API?

Hi, I'm using the java library to access the gdata api. I just want to be able to print the contents of a document. I setup my project to list all the docs in my feed, now that I have a document listing, I want to print its contents: for (DocumentListEntry entry : feed.getEntries()) { // Ok, how do we print the doc's contents now? ...

Is there a limit of Events I can enter with the google calendar data api?

Hi Guys, I' running a php script to insert events that I take from a CSV file. The events are entering successfully in my calendar, but it stops after about 75 events entered. Any idea if it's limited to a certain amount of events or it's a problem in my code. Thanks in advance for helping me! $event->title = $service->newTitle($t...

GData API works in Android 2.0 SDK & up?

I used GData API to pull in Calender info. It works fine if I use 1.6. But the same code, if I change to Android 2.0 & up, it would throw AuthenticationException. Below is my code for ur ref: CalendarService myService = new CalendarService("My Application"); myService.setUserCredentials(args[0],args[1]); // Set up the UR...

gdata api + javascript library for accessing documents?

Hi, I wanted to do the following with the gdata javascript library: get a list of a user's documents. read the contents of a chosen document. edit its contents, update the document. If I'm reading correctly, this is not supported by the javascript library? I got this to work with the java library, but would like to push this functio...

Specifying Parameters in Zend_GData when using an Oauth Token?

So, I figured out how to get an access token from Google using the Zend_Oauth library in 1.10. Now lets say I want to get my contacts... $config = array( 'consumerKey' => 'zzz', 'signatureMethod' => 'HMAC-SHA1', 'consumerSecret' => 'xxx' ); $token = unserialize($_SESSION['GOOGLE_ACCESS_TOKEN']); $client = $token->ge...

Retrieving a Google Calendar Event with Zend_Gdata Library Using Event URL

I'm trying to retrieve a Google Calendar event using the Zend Gdata library. When I create an event I store in my database the event URL returned by the insertevent method. Initially I thought I could just use this URL to then delete the event later on. After a little research I realized that you actually need a special URL which is the...

Embed Google Docs PDF viewer in IFRAME

When I upload PDF to Google Docs (using Python's gdata library), I get link to the document: >>> e.GetAlternateLink().href Out[14]: 'http://docs.google.com/a/my.dom.ain/fileview id=<veery-long-doc-id>&hl=en' Unfortunately using that link in IFRAME is not working for me because PDF viewer is redirecting to itself, breaking out of IFRAM...

Nullreferenceexception when adding a GData.Extensions.Reminder to Reminders

Hello again, I think the title says it all. I'm using Reminder fifteenMinReminder = new Reminder(); fifteenMinReminder.Minutes = 15; fifteenMinReminder.Method = Reminder.ReminderMethod.email; entry.Reminders.Add(fifteenMinReminder); on a brand new entry (where Reminder and Reminders are Nothing), but I cannot add a reminder using the ...

Getting event start times using Zend_Gdata for Google Calendars

I've been trying to retreive the start times of Google Calendar events with the following code: $query = $service->newEventQuery(); $query->setUser($calUser); $query->setVisibility('private'); $query->setProjection('full'); $query->setOrderby('starttime'); $query->setSortOrder('ascending'); $query->setFutureevents('true'); try { $e...

[Gdata] GetAuthSubToken returns None

Hey guys, I am a little lost on how to get the auth token. Here is the code I am using on the return from authorizing my app: client = gdata.service.GDataService() gdata.alt.appengine.run_on_appengine(client) sessionToken = gdata.auth.extract_auth_sub_token_from_url(self.request.uri) client.UpgradeToSessionToken(sessionToken) logging.i...

Forbidden Not authorized to access this feed

Hai, I want to create a sites by using java programming. but it contain error like this... Exception in thread "main" com.google.gdata.util.ServiceForbiddenException: Forbidden Not authorized to access this feed at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:561) at com.google.gdata.client....

Approach for fixing NoClassDefFoundError?

I'm seeing this question is getting asked a lot in many different contexts. Perhaps we can set some strategies for locating and fixing it? I'm noobish myself so all I can contribute are horror stories and questions, sorry... It seems this is thrown when a class is visible at compile time but not at run time... how can this happen? In...

How can I get the list of followers from the Google Data API for Blogger?

I am able to get the list of 'authored' blogs for a particular user profile-id and its response is available in JSON. However, when I try to request the profile (which has the list of followers), I can only get the result in HTML. Is there any way to get the list in a data-protocol format (i.e., XML or JSON)? ...