Ask Your Question
2

Social Sharing fails silently if JSONP request fails

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

todofixthis gravatar image todofixthis flag of Chile
1092 17 18 37
http://www.fiveyearsabroa...

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.

delete close flag offensive retag edit

Comments

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

todofixthis ( 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 ( 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

Fitoria gravatar image Fitoria flag of Nicaragua
851 4 20
http://fitoria.net/

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.

link publish delete flag offensive edit

Comments

Verified. Thanks!

todofixthis ( 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 ( 2012-11-08 00:00:45 -0500 )edit
1

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 ( 2012-11-08 06:07:29 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 129 times

Last updated: Jan 06