Ask Your Question
2

Social Sharing fails silently if JSONP request fails

asked 2012-04-24 23:03:15 -0500

todofixthis gravatar image

updated 2013-01-06 19:13:12 -0500

I attempted to share a link to a question on my Askbot hosted site on Facebook. I clicked on the Facebook icon, but nothing happened. I clicked on it a few times, and nothing continued to happen:

Social sharing buttons.

I checked my web inspector, and I noticed that the JSONP request was getting a 503 response:

Screen shot of web inspector indicating that the request to json-tinyurl.appspot.com was returning a 503.

(right-click and select "Open Image in New Tab" to view full-size)

There should probably be some kind of feedback when these requests fail.

edit retag flag offensive close merge delete

Comments

Also, something should be done about those pesky 503 errors, but aside from that, we need better feedback when the requests fail (:

todofixthis gravatar imagetodofixthis ( 2012-04-24 23:03:59 -0500 )edit

Also also, the notice about event.layerX and event.layerY being deprecated also occurs when I click on the Facebook icon as well (also present in the screenshot).

todofixthis gravatar imagetodofixthis ( 2012-04-24 23:05:54 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-04-25 10:28:04 -0500

Seems to be a problem with http://json-tinyurl.appspot.com/ and google app engine, we'll have to change this provider because it will fail if their free GAE quota is exceeded.

I've just tried to share with fb on your site and it worked.

edit flag offensive delete link more

Comments

Verified. Thanks!

todofixthis gravatar imagetodofixthis ( 2012-04-25 12:15:27 -0500 )edit
2

Hi, 7 months later and the problem still exists. Can you either exchange the provider or just use the full URL if tinyurl replies with 503?

siovene gravatar imagesiovene ( 2012-11-08 00:00:45 -0500 )edit
2

Hey, I wrote a patch to disable tinyurl and optionally provide one's own short url for questions: https://github.com/ASKBOT/askbot-devel/pull/100

siovene gravatar imagesiovene ( 2012-11-08 06:07:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-04-24 23:03:15 -0500

Seen: 261 times

Last updated: Jan 06 '13