Scribd Javascript API Error

61 views
Skip to first unread message

d...@gatherdocs.com

unread,
May 24, 2013, 10:14:31 AM5/24/13
to scribd-platfo...@googlegroups.com
I've been using the Scribd JS api to embed documents for quite a while with no issue. However, as of yesterday (5/23) my preview is failing to render. I think it has something to do with the recommendation line (called from embed.js, line 182). I'm getting a flash of the content, then an uncaught syntax error on that line (Unexpected token <).  Any ideas what's causing this?

Jared Friedman

unread,
May 24, 2013, 12:21:55 PM5/24/13
to Scribd Platform Talk
Dan - can you send a link to a page where this is happening?


On Fri, May 24, 2013 at 7:14 AM, <d...@gatherdocs.com> wrote:
I've been using the Scribd JS api to embed documents for quite a while with no issue. However, as of yesterday (5/23) my preview is failing to render. I think it has something to do with the recommendation line (called from embed.js, line 182). I'm getting a flash of the content, then an uncaught syntax error on that line (Unexpected token <).  Any ideas what's causing this?

--
You received this message because you are subscribed to the Google Groups "Scribd Platform Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scribd-platform-dev...@googlegroups.com.
To post to this group, send email to scribd-platfo...@googlegroups.com.
Visit this group at http://groups.google.com/group/scribd-platform-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

d...@gatherdocs.com

unread,
May 24, 2013, 2:34:09 PM5/24/13
to scribd-platfo...@googlegroups.com, ja...@scribd.com
Hi Jared,

Email me -  dan @ gatherdocs.com and I'll grant you access. It's inside my site and I'd rather not post credentials here.

-Dan


On Friday, May 24, 2013 12:21:55 PM UTC-4, Jared Friedman wrote:
Dan - can you send a link to a page where this is happening?
On Fri, May 24, 2013 at 7:14 AM, <d...@gatherdocs.com> wrote:
I've been using the Scribd JS api to embed documents for quite a while with no issue. However, as of yesterday (5/23) my preview is failing to render. I think it has something to do with the recommendation line (called from embed.js, line 182). I'm getting a flash of the content, then an uncaught syntax error on that line (Unexpected token <).  Any ideas what's causing this?

--
You received this message because you are subscribed to the Google Groups "Scribd Platform Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scribd-platform-developers+unsub...@googlegroups.com.

pad...@gmail.com

unread,
May 30, 2013, 5:03:09 AM5/30/13
to scribd-platfo...@googlegroups.com
Hey guys we're having a few issues for a couple of days as well.

Here's a gist of the code we're using to embed the document: https://gist.github.com/mickey/8df4c9f8ea806bf21279

Here's the output in the chrome console: https://gist.github.com/mickey/e4aa4913958e9ece05bd

Let me know if you want the access to the website, I'll create you an account.
Reply all
Reply to author
Forward
0 new messages