cant get upload to work - am i stupid?
i would like to use the slideshare api to upload a ppt file on demand.. but i keep getting the following error message:
<slideshareserviceerror>
<message>6: Slideshow file is not a source object</message>
</slideshareserviceerror>
Here is the URL i am trying (obviously replaced certain details!)
http://www.slideshare.net/api/1/uploa...
If anyone can help me that would be great.
<slideshareserviceerror>
<message>6: Slideshow file is not a source object</message>
</slideshareserviceerror>
Here is the URL i am trying (obviously replaced certain details!)
http://www.slideshare.net/api/1/uploa...
If anyone can help me that would be great.
2 people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company marked this problem solved.
The best solution from the company
-
Try this code. It works. Paste it into a simple HTML file and open it in your browser. Remember that when uploading files, the enctype='multipart/form-data' is required.
<form>
<input name="api_key" type="hidden" value="api_key" />
<input name="ts" type="hidden" value="ts" />
<input name="hash" type="hidden" value="hash_for_above_ts" />
<input name="username" type="hidden" value="username" />
<input name="password" type="hidden" value="password" />
<input name="slideshow_title" type="hidden" value="Whatever title" />
<input name="slideshow_srcfile" type="file" />
<input type="submit" value="Submit" />
</form>
I’m happy
The company says
this solves the problem
-
Inappropriate?I'm passing this on to our engineers... they'll hep you troubleshoot this
-
Inappropriate?Try this code. It works. Paste it into a simple HTML file and open it in your browser. Remember that when uploading files, the enctype='multipart/form-data' is required.
<form>
<input name="api_key" type="hidden" value="api_key" />
<input name="ts" type="hidden" value="ts" />
<input name="hash" type="hidden" value="hash_for_above_ts" />
<input name="username" type="hidden" value="username" />
<input name="password" type="hidden" value="password" />
<input name="slideshow_title" type="hidden" value="Whatever title" />
<input name="slideshow_srcfile" type="file" />
<input type="submit" value="Submit" />
</form>
I’m happy
The company says
this solves the problem
-
Inappropriate?Oops. There seems to be a problem with getsatisfaction.com. The code I mentioned got changed when posting. In the form tag, use the following parameters:
action="http://www.slideshare.net/api/1/upload_slideshow"
method="post"
enctype='multipart/form-data' -
Inappropriate?thanks - but does it have to be through a form?
I want to automate this by having a script which sends the location of the powerpoint file on my server to slideshare and then returns me the converted .fla file details to me from slideshare.
Doing it the way you mention above implies someone has to physically browse for the file and then click "submit" on the form.
i am not sure what the point of an API is then?
Loading Profile...




EMPLOYEE
EMPLOYEE