gdata-api

OpenID and Google.GData.AccessControl.dll in C#

て烟熏妆下的殇ゞ 提交于 2019-12-02 21:09:20
问题 I am designing a web site to use OpenId and Google is one of the main providers I have selected. What I would like to do is use Google's Calendar & Contacts (possibly docs) as a backing store for each individual user. In other words, if the user on my site wants to have access to a Contacts List, Calendar, etc they must register their Google account. Then they can add/edit/delete to their heart's content as it is their info. (And yes, I have a specific idea in mind for where I am going, just

How can I do a search for video on youtube in my iPhone app?

橙三吉。 提交于 2019-12-02 17:38:43
问题 In my iPhone application, I want to do a search for video on youtube. How can I do this (with the GData API)? 回答1: You do it the same as you would ask for any other data. If I wanted to search for youtube videos from my iPhone application, I would create a request to youtube that looked like this: -(void)fetchYoutubeData:(NSString *)myQuery{ //where myQuery is the string to search for //it needs to be encoded to stick in the url so Jimi%20Hendrix instead ///of Jimi Hendrix NSError *err = [[

My zend application is unable to upload files on youtube

…衆ロ難τιáo~ 提交于 2019-12-02 13:53:38
问题 I am using the following code to upload small and large videos on youtube. The code properly works on localhost but when I run it on server and upload the same videos, it uploads all the SMALL files but not the large files. Once upload is completed youtube shows following Error for files with large size: Failed (unable to convert video file) <?php require_once 'Zend/Loader.php'; Zend_Loader::loadClass('Zend_Gdata_YouTube'); Zend_Loader::loadClass('Zend_Gdata_AuthSub'); Zend_Loader::loadClass(

How can I do a search for video on youtube in my iPhone app?

痴心易碎 提交于 2019-12-02 09:39:39
In my iPhone application, I want to do a search for video on youtube. How can I do this (with the GData API)? You do it the same as you would ask for any other data. If I wanted to search for youtube videos from my iPhone application, I would create a request to youtube that looked like this: -(void)fetchYoutubeData:(NSString *)myQuery{ //where myQuery is the string to search for //it needs to be encoded to stick in the url so Jimi%20Hendrix instead ///of Jimi Hendrix NSError *err = [[[NSError alloc] init] autorelease]; NSString *myRequest = [NSString stringWithFormat:@"http://gdata.youtube

My zend application is unable to upload files on youtube

安稳与你 提交于 2019-12-02 05:42:57
I am using the following code to upload small and large videos on youtube. The code properly works on localhost but when I run it on server and upload the same videos, it uploads all the SMALL files but not the large files. Once upload is completed youtube shows following Error for files with large size: Failed (unable to convert video file) <?php require_once 'Zend/Loader.php'; Zend_Loader::loadClass('Zend_Gdata_YouTube'); Zend_Loader::loadClass('Zend_Gdata_AuthSub'); Zend_Loader::loadClass('Zend_Gdata_App_Exception'); session_start(); $_SESSION['Key'] = 'My Developer Key'; ?> <html> <head> <

Unifying OAuth handling between gdata and newer Google APIs

寵の児 提交于 2019-12-01 12:58:32
I'm working with the Google Contacts API and Google Calendar API in Python. The former is a GData API and the latter is a Google API... API, so while clients are available, they're each covered by separate clients -- here's GData , and Google API . The problem I'm running into working with these clients is that they both have their own way of dealing with OAuth2. The GData library provides gdata.gauth.token_to_blob(auth_token) and gdata.gauth.token_from_blob(auth_token) methods to translate auth tokens to/from strings to store in a database, while the google-api library provides a method on

GData static library: exclude files from ARC with -fno-objc-arc?

十年热恋 提交于 2019-12-01 11:53:05
I am using the GData static library in my app that uses ARC. Google's instructions say to link the header files from the library to the project target. The problem is that when I do so I get compiler errors as the GData library is not compatible with ARC. Google states that: ARC Compatibility When the library source files are compiled directly into a project that uses ARC, then ARC must be disabled specifically for the library sources. To disable ARC for source files in Xcode 4, select the project and the target in Xcode. Under the target "Build Phases" tab, expand the Compile Sources build

Unifying OAuth handling between gdata and newer Google APIs

馋奶兔 提交于 2019-12-01 09:51:59
问题 I'm working with the Google Contacts API and Google Calendar API in Python. The former is a GData API and the latter is a Google API... API, so while clients are available, they're each covered by separate clients -- here's GData, and Google API. The problem I'm running into working with these clients is that they both have their own way of dealing with OAuth2. The GData library provides gdata.gauth.token_to_blob(auth_token) and gdata.gauth.token_from_blob(auth_token) methods to translate

How to convert from gid to od* (worksheet id) in new Google spreadsheets

柔情痞子 提交于 2019-12-01 09:01:39
I am using Gdata api to update Google spreadsheet cell. Now New Google spreadsheet has been released and it seems the gid has over 8 digits. The following is sample new sheets and the gid of sheet2 is 1794189920. https://docs.google.com/spreadsheets/d/1S6mvGGoOJa8JF6Qt6GGH5QT-X0HD4EjZhKNbihAwFuE/edit?usp=sharing I tried to convert them with the following method, but doesn't work. How to convert Google spreadsheet's worksheet string id to integer index (GID)? Thanks to anyone who can help shed light on this or suggest. Cheers. Junya All right, this is a ghetto answer because I'm not satisfied

Batch Update to Spreadsheet with Google GData API Using 2 Legged OAUTH / OPEN ID Domain Account

泄露秘密 提交于 2019-12-01 08:41:13
Ok, weekend is shot on this - here is my last ditch sunday night call for help. Google Marketplace app that must use 2 Legged OAUTH aproach needs to write 50K records to a Google Doc Spreadsheet. I'm able to create, resize, rename and write records to a spreadsheet. It takes up to a minute to write 100 rows individually, so I have to use a batch update. Can't get batch update to work. The below code is my best attempt - I keep getting "Token invalid - Invalid token 401". All of the sample code out there is for three legged oauth - but I can't prompt the user to approve the app since it's a