dantirdea / gdata-samples Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gdata-samples
Automatically exported from code.google.com/p/gdata-samples
What steps will reproduce the problem?
1. we want mediaservice interface
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 1 Mar 2011 at 9:47
Dear all,
I've tried the demo available at:
http://googlecodesamples.com/docs/php/ocr.php with the file that you gave
as an example. It doesn't work!
I was expecting a text file and I've got the following problem:
"Error processing document:
Expected response code 200, got 400 GData InvalidEntryException Could not
convert document."
Thanks in advance for any help.
Original issue reported on code.google.com by [email protected]
on 23 Feb 2010 at 3:54
i am embeding a youtube video, but when i use the playback quality code
i get an error saying: 1084: Syntax error: expecting rightparen before begins.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2010 at 2:25
What steps will reproduce the problem?
1. Do svn checkout
2. Download Zend framework and put it in subfolder
3. Fill configuration variables with relevant consumer data
What is the expected output? What do you see instead?
Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message
'Expected response code 200, got 401[..]' in
/home/www/[...]/htdocs/gdata.svn/hybrid/Zend/Gdata/App.php:711
And if I trace it, then it happens because of empty access key. At index.php
line 104
$access_token = getAccessToken($request_token);
And if I trace that, then printing $responce gives
signature_invalid
Original issue reported on code.google.com by [email protected]
on 21 Dec 2010 at 2:56
I have included a basic interface class that defines the youtube player
documented API.
Original issue reported on code.google.com by [email protected]
on 10 Apr 2010 at 2:34
Attachments:
What steps will reproduce the problem?
1. index.aspx using google data api
2. retrieveing a video works fine
3. uploading causes Google.GData.Client.GDataRequestException: Execution of
request failed:
http://uploads.gdata.youtube.com/feeds/api/users/Moneoneseven/uploads
---> System.Net.WebException: The remote server returned an error: (400)
Bad Request.
deleting and updatinf causes Google.GData.Client.GDataRequestException: Can
not update a read-only entry
What is the expected output? What do you see instead?
upload/update/delete video
What version of the product are you using? On what operating system?
lastest API, ASP.NET 3.5, IIS 7
Please provide any additional information below.
i think there's something wrong with authentification (developerkey,
clientid, ...)
manual upload via youtube-website works fine.
Original issue reported on code.google.com by [email protected]
on 9 Jul 2009 at 10:07
require 'jcode'
needs to be changed to:
require 'jcode' if RUBY_VERSION < '1.9' #require 'jcode'
in lib/gdata/gdata.rb for rails 3 apps to work.
Original issue reported on code.google.com by [email protected]
on 5 Apr 2011 at 6:03
Trying to access the demo at http://googlecodesamples.com/docs/php/ocr.php, but
am getting "Expected response code 200, got 403
GDataServiceForbiddenException403.4 SSL required". Not sure if this would fix
that but hoping so.
Original issue reported on code.google.com by [email protected]
on 14 Feb 2012 at 10:41
Attachments:
fbggvhtjruyu
Original issue reported on code.google.com by [email protected]
on 29 Mar 2013 at 10:09
Attachments:
Hi,
I am using jQuery Idle Timeout Plugin.In this after ideal time a modal screen
will appear.After click on continue also still the timer is counting.I want
continue in the same page.Can any one suggest how to solve this.
Thank you.
Original issue reported on code.google.com by [email protected]
on 5 Oct 2012 at 1:09
I am using Youtube API to upload videos. Its working fine in my local machine
but it throws below exception after I implemented my code into server.
The remote server returned an error: (403) Forbidden.
Exception return -
Execution of request failed: http://gdata.youtube.com/feeds/api/videos/xxxxx
I have mentioned username, developerkey, password correctly. Could you please
any one help me that where I am wrong?
Original issue reported on code.google.com by [email protected]
on 25 Aug 2013 at 8:16
hybrid -> index.php (r180)-> $_REQUEST['openid_ext2_request_token'] is
urlencoded
When I got request_token with char "/" I got response:
Token invalid - Invalid AuthSub token.
To fix it just change line 91 to:
$request_token = urldecode(@$_REQUEST['openid_ext2_request_token']);
Original issue reported on code.google.com by [email protected]
on 10 Jun 2009 at 4:11
Several Data APIs, like the Google Calendar API will produce redirects
which are handled properly by the Zend classes but not by the hybrid
example provided here at googlecodesamples.com.
An example redirect would be
http://docs.google.com/feeds/documents/private/full
=>
http://docs.google.com/feeds/documents/private/full?gsessid=xxxxxxxx
(variable name may be inaccurate, sorry).
The problem is that within the hybrid example requests are signed outside
the Zend classes thus the Zend classes have no clue that each request needs
to be signed, only that a specific Authentication header has to be sent.
When a redirect happens, which is handled properly inside
Zend_Gdata_App::performHttpRequest(), this function will call itself to
make the request where the redirect is pointing to. The problem is that the
same Authentication header will be sent again, which will result in a 401
Unauthorized response.
Although I have no time right now to provide a patch, I can attach a sample
replacement inside index.php to make the hybrid example work with Google
Calendar (and possibly other Google Data APIs making redirects):
// [...]
if (isset($_SESSION['redirect_to'])) {
$redirect = $_SESSION['redirect_to'];
unset($_SESSION['redirect_to']);
header('Location: ' .$redirect);
}
// WORKS ONLY WITH GET
class Zend_Oauth_HttpClient extends Zend_Gdata_HttpClient {
public function filterHttpRequest($method, $url, $headers = array(),
$body = null, $contentType = null) {
$urlPart = $url;
if (strpos($url, '?') > 0) {
list($urlPart, $paramPart) = explode('?', $url, 2);
parse_str($paramPart, $paramPart);
}
$req = OAuthRequest::from_consumer_and_token($GLOBALS['consumer'],
$GLOBALS['access_token'],
$method, $urlPart,
$paramPart);
$req->sign_request($GLOBALS['sig_method'], $GLOBALS['consumer'],
$GLOBALS['access_token']);
$this->setHeaders($req->to_header());
return array('method' => $method, 'url' => $url, 'body' => $body,
'headers' => $headers, 'contentType' => $contentType);
}
}
$request_token = @$_REQUEST['openid_ext2_request_token'];
if ($request_token) {
$data = array();
$httpClient = new Zend_Oauth_HttpClient();
$access_token = getAccessToken($request_token);
// Query the Calendar API ===================================================
$calendarService = new Zend_Gdata_Calendar($httpClient);
$feed = $calendarService->getCalendarListFeed();
$data['calendars']['html'] = listEntries($feed);
$data['calendars']['xml'] = $feed->saveXML();
//
===========================================================================
// [...]
Providing a custom HTTP client will sign each and every outgoing request
implicitly. This also makes it unnecessary to pass parameters twice (once
to oauth and one more time to Zend_Gdata_*) because it extracts parameters
internally and uses them for generating the signature. This enables you to
avoid figuring out what parameters each feed actually handles.
Warning: Zend_Oauth_HttpClient is not contained within the Zend Framework
yet; if you see one in there, which is a work in progress right now, use
that one and skip this example! At the time of this writing no Oauth HTTP
client was available within the Zend Framework).
I know this is kinda messy but it may save several weeks for some people.
Hope it makes sense!
Best Regards,
Norbert Mocsnik
http://sethigherstandards.net
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 12:13
What steps will reproduce the problem?
svn checkout and try to build the as3 example, which is in:
com/google/youtube/example/
fails.
But the mxml and as3 file refer to package "examples" (note plural) changing
these fixes the problem.
Original issue reported on code.google.com by [email protected]
on 4 May 2010 at 5:10
What steps will reproduce the problem?
1. Use the demo and grant permission. http://googlecodesamples.com/hybrid/
This always fails for me with the following output:
Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with
message 'Expected response code 200, got 401 <HTML> <HEAD> <TITLE>Unknown
authorization header</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF"
TEXT="#000000"> <H1>Unknown authorization header</H1> <H2>Error 401</H2>
</BODY> </HTML> ' in /srv/www/www.googlecodesamples.com/ZendGdata-
1.7.7/library/Zend/Gdata/App.php:689 Stack trace:
#0 /srv/www/www.googlecodesamples.com/ZendGdata-
1.7.7/library/Zend/Gdata.php(218): Zend_Gdata_App->performHttpRequest
('GET', 'http://spreadsh...', Array, NULL, NULL, NULL)
#1 /srv/www/www.googlecodesamples.com/ZendGdata-
1.7.7/library/Zend/Gdata/App.php(842): Zend_Gdata->performHttpRequest
('GET', 'http://spreadsh...', Array)
#2 /srv/www/www.googlecodesamples.com/ZendGdata-
1.7.7/library/Zend/Gdata/App.php(742): Zend_Gdata_App->get
('http://spreadsh...', NULL)
#3 /srv/www/www.googlecodesamples.com/ZendGdata-
1.7.7/library/Zend/Gdata/App.php(204): Zend_Gdata_App->importUrl
('http://spreadsh...', 'Zend_Gdata_Spre...', NULL) #4 /srv/www/www.googl
in /srv/www/www.googlecodesamples.com/ZendGdata-
1.7.7/library/Zend/Gdata/App.php on line 689
Please provide any additional information below.
I see the same behavior with my application. I haven't been able to track
down the problem.
Original issue reported on code.google.com by [email protected]
on 8 Apr 2010 at 7:22
<!--************CODE GEOCOUNTER************-->
<script type="text/javascript"
src="http://geoloc1.whoaremyfriends.com/private/geocounter.js?compte=40916672764
7"></script>
<noscript>
<a
href="http://www.geovisites.com/pt/directory/adulto_amadores.php?compte=40916672
7647" target="_blank"><img
src="http://geoloc1.whoaremyfriends.com/private/geocounter.php?compte=4091667276
47" border="0" alt="amadores"></a>
<br>Please do not change this code for a perfect fonctionality of your counter
<a
href="http://www.geovisites.com/pt/directory/adulto_amadores.php">amadores</a>
</noscript>
<br><a
href="http://brasil.shopbusca.com/s_2771__lingerie-e-acessorios_.html">lingerie<
/a>
<!--************END CODE GEOCOUNTER************-->
Original issue reported on code.google.com by [email protected]
on 6 Jan 2013 at 5:16
Attachments:
What steps will reproduce the problem?
1. Compile fails on php v 5. It is XRDS.php:431, should read $&services. This
can be fixed easily by installing latest from janrain, which has this fix.
Original issue reported on code.google.com by [email protected]
on 3 Apr 2012 at 9:35
What steps will reproduce the problem?
1. Point browser to http://googlecodesamples.com/hybrid/
What is the expected output? What do you see instead?
Expected: the app
Actual:
Warning: require_once(Auth/OpenID/Consumer.php) [function.require-once]:
failed to open stream: No such file or directory in
/srv/www/www.googlecodesamples.com/public/hybrid/common.inc.php on line 6
Fatal error: require_once() [function.require]: Failed opening required
'Auth/OpenID/Consumer.php'
(include_path='.:/srv/www/www.googlecodesamples.com/Zend/library:/usr/share/php:
/usr/share/pear')
in /srv/www/www.googlecodesamples.com/public/hybrid/common.inc.php on line 6
What version of the product are you using? On what operating system?
n/a
Original issue reported on code.google.com by [email protected]
on 9 Mar 2010 at 1:33
line 211,
update
else if ($http_method = "POST") {
to
else if ($http_method == "POST") {
Original issue reported on code.google.com by [email protected]
on 22 Nov 2011 at 9:05
Attachments:
Hello,
I was getting following error while accessing you tube downloaded page in my
host. Technically I am not good, please help.
Warning: require_once(config.inc.php) [function.require-once]: failed to open
stream: No such file or directory in
/hermes/web06/b1537/testdiyarakesha/uploads/youtube.php on line 19
Fatal error: require_once() [function.require]: Failed opening required
'config.inc.php' (include_path='.:/usr/local/lib/php-5.2.12/lib/php') in
/hermes/web06/b1537/testdiyarakesha/uploads/youtube.php on line 19
Thank you
Regan
Original issue reported on code.google.com by [email protected]
on 27 Jun 2010 at 11:45
There is no viewing data for this video
Original issue reported on code.google.com by [email protected]
on 3 Jul 2011 at 6:44
Attachments:
The problem with this is that the client is forcing a "self" url
(.../feed?id=blah) that is different than
the self returned by the server (/entry/id). I either have to adopt
/feed?id=blah as the entry url for
all clients or I have a situation where the url in Entry.SelfUri is different
than the one that should be
used to retrieve the entry.
As a suggestion, either the gdata .net client should not tunnel an entry get in
a feed get returning
one entry or it should override Entry.SelfUri to always return /feed?id=blah
(btw, I am not able to do
override this since these key methods/properties are not virtual).
Original issue reported on code.google.com by [email protected]
on 28 Apr 2010 at 12:39
Line 244 in
shCore.uncompressed.js
invalid flag
Currently written as:
str = str.replace(/\n/gm, ' <br>');
Should be:
str = str.replace(/\n/g, ' <br>');
Original issue reported on code.google.com by [email protected]
on 6 Mar 2010 at 3:05
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.