API key not working

145 views
Skip to first unread message

Priyanshu

unread,
Jun 26, 2009, 1:24:14 PM6/26/09
to SlideShare Developers
Hi,

I have been trying to use Slideshare API for last few hours but
constantly getting "Failed API Validation" error, I also tried
Slideshare Java library and also the webtoolkit upload sample here but
all of them gave the same error.

Could anybody help me out that what could be wrong with my key/secret.
It has just been mailed to me few hours ago.

Regards,
Priyanshu

sri prasanna

unread,
Jun 29, 2009, 12:58:33 AM6/29/09
to slideshare...@googlegroups.com
Hi,

Are you sure about the validation error? Please check here whether your api key is working or not once again http://slideshare-developers.googlegroups.com/web/Slideshare+Upload+Sample+Code.zip . If it doesn't please report it to a...@slideshare.com. They will help you fixing it right away.

Regards,
Sri Prasanna. K
Blog: http://sprasanna.com

ozatomic

unread,
Jun 29, 2009, 2:23:38 AM6/29/09
to SlideShare Developers
I'm getting the same problem. Last week it was working fine this week
it is not working at all. My key/secret appears to be working with
version 1 but not with version 2 as i tried the above example and it
worked fine and that uses version 1

On Jun 29, 2:58 pm, sri prasanna <macho...@gmail.com> wrote:
> Hi,
>
> Are you sure about the validation error? Please check here whether your api
> key is working or not once againhttp://slideshare-developers.googlegroups.com/web/Slideshare+Upload+S....
> If it doesn't please report it to
> a...@slideshare.com. They will help you fixing it right away.
>
> Regards,
> Sri Prasanna. K
> Blog:http://sprasanna.com
>

sri prasanna

unread,
Jun 29, 2009, 2:52:05 AM6/29/09
to slideshare...@googlegroups.com
Actually its working fine for me. Please try with this php file. Just add your api and secret key.


Regards,
Sri Prasanna. K
Blog: http://sprasanna.com



upload.php

Brenton Bull

unread,
Jun 29, 2009, 2:55:52 AM6/29/09
to slideshare...@googlegroups.com
I've actually got it working with PSOT and API Version 2 now. Jsut everytime i try and use GET and get slideshow info it now says my api key is not valid. so annoying i ahd this wokring the other day.

sri prasanna

unread,
Jun 29, 2009, 3:03:30 AM6/29/09
to slideshare...@googlegroups.com
Actually this php code to get slideshow info works perfectly for me.

<?php

$ts=time();
$secret='your secret key';
$hash=sha1($secret.$ts);
$key='your api key';
$apiurl='http://www.slideshare.net/api/2/';
$slideid='774298';
$slideshow_url='http://www.slideshare.net/alihadi/corporate-fear-of-social-medi';
$method = 'get_slideshow';
$location = $apiurl.$method."?api_key=".$key."&ts=".$ts."&hash=".$hash."&slideshow_url=".$slideshow_url;
header("Location: $location ");

?>


Regards,
Sri Prasanna. K
Blog: http://sprasanna.com



Priyanshu

unread,
Jun 29, 2009, 6:06:10 AM6/29/09
to SlideShare Developers, sri prasanna
Hi Sri,

Yes I am sure about the validation error. I have checked it again and
again and it's not working at all, neither with my program nor with
Slideshare Java wrapper.
I have also tried the Webkit you are referring and the php code given
by you and it's still giving me the same error.

I reported that to api@slideshare on friday only but haven't got any
reply yet :-(

Regards,
Priyanshu

On Jun 29, 9:58 am, sri prasanna <mach...@gmail.com> wrote:
> Hi,
>
> Are you sure about the validation error? Please check here whether your api
> key is working or not once againhttp://slideshare-developers.googlegroups.com/web/Slideshare+Upload+S....

Ulfat Hussain

unread,
Jun 29, 2009, 6:48:09 AM6/29/09
to slideshare...@googlegroups.com
There must be an error of username and password.Please debug and check the username and password.
and for which function you are receiving this error.
Reply all
Reply to author
Forward
0 new messages