gdata-api

Can I use oauth token at client side?

耗尽温柔 提交于 2020-01-16 14:29:40
问题 can I use oauth token generated on server at client side ? if yes . will it be secure to going like that ? 回答1: I'm not completely sure I understand the question. But, in general, if you have the application token and the user token, you can use it anywhere. For instance, my application has a mobile registration or an web site registration. Regardless of which one you do, the tokens are shared and can be used from either client. 回答2: OAuth 2.0 AccessToken can be used to access its resource in

Get XML response value with GDataXML

落花浮王杯 提交于 2020-01-15 04:00:12
问题 after a HTTP Post I retrieve an xml response like the following: <result value="OK"> <user id="1"> <name>admin</name> <rank>0</rank> <picture_count>0</picture_count> <comment_count>0</comment_count> <has_profile>1</has_profile> </user> </result> I'd like to extract the user ID, but I don't know how to do this. I tried with GDataXML Parser, because this is already integrated in my project, but I don't know how to get a value inside a html tag. I hope you can help me. If there is no solution

Client-side retrieval of Google Contact pictures

孤街醉人 提交于 2020-01-12 08:05:11
问题 I'm fetching google contacts in a webapp using the Google JavaScript API and I'd like to retrieve their pictures. I'm doing something like this (heavily simplified): var token; // let's admit this is available already function getPhotoUrl(entry, cb) { var link = entry.link.filter(function(link) { return link.type.indexOf("image") === 0; }).shift(); if (!link) return cb(null); var request = new XMLHttpRequest(); request.open("GET", link.href + "?v=3.0&access_token=" + token, true); request

Google+ photos api [closed]

十年热恋 提交于 2020-01-10 19:27:40
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Is there a Google+ photos gdata API? I was using Google picasa API but picasa has a 1 GB limit for photos. I want to upload all my photos using the script which i am writing to Google+ photos. Is there a Google+ photos gdata API? 回答1: Google+ does not currently have a public photo API. It was accidentally

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

假如想象 提交于 2020-01-10 04:13:07
问题 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. At least using OAuth (or even AuthSub), the user gets prompted for which of their Google accounts to log in. 回答1: Still not clear that this is possible, but

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

余生长醉 提交于 2020-01-10 04:13:06
问题 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. At least using OAuth (or even AuthSub), the user gets prompted for which of their Google accounts to log in. 回答1: Still not clear that this is possible, but

Uploading Any File To Google Docs Using GData

荒凉一梦 提交于 2020-01-03 05:06:26
问题 I'm trying to use the Google Docs GData API (.NET) to upload a file to my docs, but I keep getting errors thrown. I can't find any example that uses this method, so I'm not even sure that I am usign it correctly. DocumentsService docService = new DocumentsService("MyDocsTest"); docService.setUserCredentials("w****", "*****"); DocumentsListQuery docQuery = new DocumentsListQuery(); DocumentsFeed docFeed = docService.Query(docQuery); foreach (DocumentEntry entry in docFeed.Entries) { Console

gdata youtube query problem

 ̄綄美尐妖づ 提交于 2020-01-02 08:28:35
问题 i have asked this question before but no answer was there. so asking again. I just cant figure out which gdata framework class to use so that i can search youtube videos . i used some classes by debugging code but i think the framework is so deep that it can take a lot of time to figure out this problem . so please help me . i have a search box in my app and i want that after entering any keyword(s) in that search box and tapping the search button i should get the proper response . i tried

Youtube Upload Quality

纵然是瞬间 提交于 2020-01-01 09:55:06
问题 I am using google's GData API in order to upload a video to youtube from my app. The upload works fine however the quality of the video uploaded is only 360p whereas the quality of the original video is 720p. Is this working as intended? If so is there any way around this video compression that will allow my app to upload HQ movies? Here's the code I'm using to achieve the video upload if that's any help. GDataYouTubeMediaGroup *mediaGroup = [GDataYouTubeMediaGroup mediaGroup]; [mediaGroup

Any examples/tutorials on using Google GData API - Youtube on iphone?

时间秒杀一切 提交于 2019-12-28 11:56:08
问题 I need to list a specific users uploaded videos (YouTube) in a UITableView. I've downloaded the GData source and example projects (not iphone specific) but I can't seem to get it to work. Does anybody know of any good (or any at all ;)) tutorials out there? Best regards, Magnus 回答1: Assuming you have included the GData client libraries to your project, you need to make a call to fetch the user's uploads, and then display them. Here's the simplest way I can think of: Create an instance