Issue 2 in jslideshare: Getting Exeception

1 view
Skip to first unread message

jslid...@googlecode.com

unread,
Nov 29, 2013, 9:41:42 PM11/29/13
to jslidesha...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2 by sanjiv.i...@gmail.com: Getting Exeception
http://code.google.com/p/jslideshare/issues/detail?id=2

Was trying hands on on jslideshare with

SlideShareAPI slideShareAPI = SlideShareAPIFactory.getSlideShareAPI(
API_KEY, SHARED_SECRET);
Slideshow slideshow = slideShareAPI.getSlideshow("142806");
String embedCode = slideshow.getEmbedCode();


Getting Exception :
2013-11-30 13:32:37,800 [INFO ] [main]
com.benfante.jslideshare.SlideShareAPIImpl - Called getSlideshow with
id=142806
Exception in thread "main"
com.benfante.jslideshare.SlideShareErrorException: Not Found
at
com.benfante.jslideshare.SlideShareConnectorImpl.sendMessage(SlideShareConnectorImpl.java:162)
at
com.benfante.jslideshare.SlideShareAPIImpl.sendMessage(SlideShareAPIImpl.java:203)
at
com.benfante.jslideshare.SlideShareAPIImpl.getSlideshow(SlideShareAPIImpl.java:73)





--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

jslid...@googlecode.com

unread,
Nov 29, 2013, 10:33:55 PM11/29/13
to jslidesha...@googlegroups.com

Comment #1 on issue 2 by sanjiv.i...@gmail.com: Getting Exeception
http://code.google.com/p/jslideshare/issues/detail?id=2

I tried to debug the issue.

Initial error :
<SlideShareServiceError>
<Message ID="24">You must use https:// to access this API endpoint</Message>
</SlideShareServiceError>


class SlideShareAPIImpl :

public static final String URL_GET_SLIDESHOW
= "http://www.slideshare.net/api/1/get_slideshow";
public static final String URL_GET_SLIDESHOW_INFO
= "http://www.slideshare.net/api/1/get_slideshow_info";
public static final String URL_GET_SLIDESHOW_BY_USER
= "http://www.slideshare.net/api/1/get_slideshow_by_user";
public static final String URL_GET_SLIDESHOW_BY_TAG
= "http://www.slideshare.net/api/1/get_slideshow_by_tag";
public static final String URL_GET_SLIDESHOW_BY_GROUP
= "http://www.slideshare.net/api/1/get_slideshow_from_group";
public static final String URL_UPLOAD_SLIDESHOW
= "http://www.slideshare.net/api/1/upload_slideshow";
public static final String URL_DELETE_SLIDESHOW
= "http://www.slideshare.net/api/1/delete_slideshow";

there URLs need to be updated from http:// to https:// .

jslid...@googlecode.com

unread,
May 27, 2014, 2:54:28 AM5/27/14
to jslidesha...@googlegroups.com
Updates:
Status: Fixed
Owner: lucio.be...@gmail.com

Comment #2 on issue 2 by lucio.be...@gmail.com: Getting Exeception
http://code.google.com/p/jslideshare/issues/detail?id=2

Updated in the version 0.7.
Reply all
Reply to author
Forward
0 new messages