gdata-api

Delete post with Blogger API

非 Y 不嫁゛ 提交于 2019-12-11 12:54:35
问题 I'm using the Blogger Protocol API and I'm having trouble deleting posts. I'm working on a webOS device and so I can't send DELETE directly; instead I use Google's workaround to use POST : deletePostList: function(event) { var deletePostID = event.item.id.split('.').pop().split('-').pop(); var deleteRequest = new Ajax.Request("http://www.blogger.com/feeds/" + activeBlogID + "/posts/default/" + deletePostID, { method: 'post', requestHeaders: { Authorization: 'GoogleLogin auth=' + authCode, "X

com.google.gdata.util.AuthenticationException: Error connecting with login URI

假装没事ソ 提交于 2019-12-11 05:36:10
问题 I have written a Java application which I am launching with the following command: java -jar MyApp.jar The application uses Google's GData Java libraries to edit a Google Spreadsheet. When I run this application from my Mac, it runs fine. However, I need to run it on my dedicated server. When I upload it there and try to run it, I receive the following error: $ java -jar MyApp.jar com.google.gdata.util.AuthenticationException: Error connecting with login URI at com.google.gdata.client

Incompatibility issue between gdata-java-client and google-api-java-client

烈酒焚心 提交于 2019-12-11 04:47:34
问题 We have an app built on App Engine using OAuth1 and the Google Analytics API version 2.3 (using gdata-analytics-2.1.jar from the gdata-java-client). We have started to gradually update our app to use OAuth2 and the Core Reporting API v3.0. In the first step we just want to allow our users to request OAuth2 tokens, while the rest of the application will keep on using the old libraries. According to Google documentation when it comes to migrate to API Java client (http://code.google.com/p/gdata

Custom Fields and Extended properties - Are they Same?

China☆狼群 提交于 2019-12-11 04:06:56
问题 There is an option to "Add a custom field" in Google Contacts web page, when we create/edit a contact. Using Google Contact API v3.0, we can add "extended properties" using 'gd:extendedProperty' xml-element. Are these two pointing to the same field. When I create an extended property via API, I am not seeing that field/value in the Google contacts web page view. I get a feeling that, the gd:extendedProperty is solely for API based manipulation purpose. Is it right? In that case, is it

disabling ARC for .h files iphonesdk

心已入冬 提交于 2019-12-11 03:50:37
问题 My projects uses ARC and I want to use GDATA api which is not ARC Compatible. I know how to disable ARC for single file(by adding the -fno-objc-arc compiler flag for those files). But in GDataObject.h file there is a structure defenition as typedef struct GDataDescriptionRecord { NSString *label; NSString *keyPath; enum GDataDescRecTypes reportType; } GDataDescriptionRecord; It causes an error like ARC forbids object in struct or union How can I avoid this problem. Is there any ARC compatible

(PHP) How to parse URLs in google search results?

…衆ロ難τιáo~ 提交于 2019-12-10 10:52:06
问题 How get google search results url? (I use Zend_Gdata_Gbase for get search google results and not DomDocument/htmlsimpleparser because its looks to me that Zend_Gdata_Gbase done specially for parsing google results. if I wrong in my selection, please write.) My function to get google search results for 'yahoo' or other query search string: (the function get a feed that should have search result for word 'yahoo', but when i use prin_t($feed) I don't see url for each result) <?php function

HTTP/1.1 401 Token invalid - AuthSub token has wrong scope

北战南征 提交于 2019-12-09 23:57:56
问题 I get this error when trying to get a feed from Google Analytics API. However, using the same token I get successful feeds from Google Calendar. The code between the two is exactly the same except for the feed url. So it must have something to do with Analytics being https and Calendar just http. I have successfully created a non-secure, long-lived token. The scope parameter while requesting the initial token: scope=http%3A%2F%2Fwww.google.com%2Fcalendar%2Ffeeds%2F%20https%3A%2F%2Fwww.google

YouTube and OAuth 2.0 in .Net

五迷三道 提交于 2019-12-09 13:48:20
问题 Does anyone know how to properly authenticate an account using OAuth 2.0 and then use that auth token to access the user's YouTube account? At the end of http://code.google.com/apis/youtube/2.0/developers_guide_protocol_oauth2.html it says The Google Data client libraries that support the YouTube Data API do not currently support OAuth 2.0. However, a newer set of Google API client libraries, which do not support the YouTube Data API, do provide OAuth 2.0 support. As such, it is an option to

Embed Google Docs PDF viewer in IFRAME

空扰寡人 提交于 2019-12-09 00:54:45
问题 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 IFRAME. Looking for the solution, I've found this: http://googlesystem.blogspot.com/2009/09/embeddable-google-document-viewer.html - which looks very nice, but I can

Is any google calendar api for iphone sdk?

风流意气都作罢 提交于 2019-12-08 23:34:33
问题 Is there any google calendar api for iphone sdk, currently I develop an iphone calendar native application. In this application i want to sync with google calendar from both side. So i want to know is there any google calendar api for this work. I found iphone-gcal-example but it shows errors because it has missing GData Source files. Is there any other example which sync or add events to google calendar. Thanks in advance. 回答1: There are official APIs from Google in Objective-C which work on