gdata-api

Can I use google API to convert a PDF into PNGs?

I have noticed that when you view PDFs in google docs the PDF viewer renders the PDF file into PNG images. I was wondering if you could use Google Data API to upload a PDF and get the URLs of the rendered PNG files? I have never used the google API or really had the extra time to learn it, but if it help me do this it will be well ...

How does one retrieve the email address of a user with GData?

I'm trying to use GData to retrieve the email address, real name, and profile URL of the user that just authorized my site using Google OAuth. We know how to request it using Google's OpenID flow, but the OpenID flow has the severe limitation that we have to ask for a Google Apps user's domain before we know where to send them to log in...

Javascript Array Scope - newbie here

So, I am learning Javascript while playing white Google Calendar APIs and I just can't figure how this piece of code is working this way: var entriesResult = []; var data = new Date(2010,3,22,17,0,0); var callback = function(result) { var entries = result.feed.getEntries(); if (entries.length != 0) { entriesRe...

Can I upload a video to Youtube using OpenId + OAuth in behalf of a user which does not have a youtube account but gmail ?

I need to develop a web site where I upload videos using the youtube API. I cannot do it to my youtube account (see youtube terms for an explantion on that) so it need to be done in the user behalf. It would be great to avoid the user having to register to youtube. If I use OpenID + OAuth within the youtube API, can a gmail account or o...

c# samples of youtube API (or gdata API) using OpenID and OAuth

Are there any c# code samples of youtube API (or gdata API) using OpenID and OAuth ? Or maybe a post / article with code examples Code samples of using dotnetoauth with the youtube API would be great too ...

How to find who last updated a GData entry ?

I am building a sync application between GData and another source, using Zend GData library. While it is clear how to get the last update timestamp, I am not sure about the last updater. In order to decide whether I should sync the entry or not, I want to verify it wasn't me (the sync application) which updated it. Looking at the Zend_...

How do I get secure AuthSub session tokens in PHP ?

I am using the Google/YouTube APIs to develop web application which needs access to a users YouTube account. Normal unsecure requests work fine and I can upgrade one time tokens to session tokens without any hassle. The problem comes when I try and upgrade a secure token to a session token, I get: ERROR - Token upgrade for CIzF3546351...

Google's Oauth for Installed apps vs. Oauth for Web Apps

So I'm having trouble understanding something... If you do Oauth for Web Apps, you register your site with a callback URL and get a unique consumer secret key. But once you've obtained an Oauth for Web Apps token, you don't have to generate Oauth calls to the google server from your registered domain. I regularly use my key and token fr...

Using Gdata Calendar API for PHP App to create a calendar system with event ownership

Hello, I'm working on a PHP app, and I'm trying to find the best way to set up a calendar system. First let me describe the intended function of the system: The application has multiple users who can login simultaneously. Each user should be able to add their own events and display them on their "profile." Also, on another page, the ev...

Google Calendar feed api deleted events

I'm syncing the Google Calendar with my application (I store events in a database). When an event is updated I can easily find the last updates by sorting the event feed on the 'updated' order. However, if an event is removed / deleted, how can I track this update from the feed? ...

Google calendar query returns at most 25 entries

I'm trying to delete all calendar entries from today forward. I run a query then call getEntries() on the query result. getEntries() always returns 25 entries (or less if there are fewer than 25 entries on the calendar). Why aren't all the entries returned? I'm expecting about 80 entries. As a test, I tried running the query, deleting t...

AJAX callback in Obj constructor

I have a class object called Location that works with Google in order to geocode a given address. The geocode request is made trough an AJAX call and handled via a callback that will initiate the class members once the response arrives. Here is the code: function Location(address) { this.geo = new GClientGeocoder(); this.addres...

Using GData and the Google Analytics on Android

I am wondering what my options are for using GData and specifically the analytics api on android to build a small widget. After searching around for a while I couldnt come up with any libraries with decent examples. Are there any dedicated libraries with some decent examples / doco to do this sort of thing? I would like to target 1.5 bu...

Picasa problems

How can I get my albums array and photos list in the same album use gdata.framework? ...

gdata python analytics metrics and dimensions error

I am using the gdata module in python, when using this query I get an 'Illegal combination of dimensions and metrics' error. I have looked at documentation but not found the reason. data_query = gdata.analytics.client.DataFeedQuery({ 'ids': tid, 'start-date': '2010-04-20', 'end-date': '2010-04-21', 'dimen...

DotNetOpenAuth DesktopConsumer with GData help needed

Hi folks, I am trying to get DotNetOpenAuth's DesktopConsumer to work with Google, with not much success actually... Here is what I am doing (reduced to essential code parts): myApp = new DesktopConsumer(google, tm); var extraParameters = new Dictionary<string, string> { { "scope", GetScopeUri(Applications.Calendar) }, }; Authori...

GData is user part of Apps Premier domains or Apps Standard domains

Is there a way do figure out if a user is part of Apps Premier domains, Apps Standard domains or just a regular google account? ...

how to authenticate googleaccount in iphone ?

how to authenticate googleaccount in iphone ? in my app. i import gdata(gmap)services properly through this link(http://www.johntwang.com/blog/2009/06/08/how-to-use-google-apis-with-iphone-sdk/) next step i want to access my gmail account (showing map) i have no way ? ...

Set cell format in google spreadsheet using python api

I am using gd_client.UpdateCell to update values in a google spreadsheet and am looking for a way to update the formatting of the cell i.e. color, lines, textsize..... Can this be done? Are there examples or other documentation available? Anything to get me going would be great ...

Restoring a "Canceled" event with Google Calendar API?

I'm trying to change the status of an event back from "canceled" to "confirmed" using Google Calendar API (I'm using .NET but an answer in any language would help) but I get GDataRequestException error: "You can't modify a cancelled event" If I've used the API to delete an event in a repeating series, for example, is it possible to cha...