So if you get "SHARETHIS is null," "SHARETHIS is undefined," or "SHARETHIS is not defined," instead of spending an hour and a half pulling your hair out, just breathe deep and remember, there are still people out there who put all their code in a monotholic try/catch and fail silently.
Wednesday, June 10, 2009
Argh, ShareThis!
Despite it's importance, this problem with ShareThis is almost totally undocumented: if you run your webserver locally and access it via "localhost"then the ShareThis widget won't work. You have to access it by an IP instead (127.0.0.1).
Subscribe to:
Post Comments (Atom)

.jpg)
2 comments:
Thanks a lot for this. It was very helpful :)
hey, i don't get it. I copy and paste the script code to my blog. But when i share my entries to twitter, the message: undefined - undefined. Why is this so?
Post a Comment