Parse.com Javascript SDK + Disqus SSO Integration

Universal code:

When your page content changes and you need to load new comments:

Dependancies:

  • http://code.google.com/p/crypto-js
  • http://stackoverflow.com/questions/246801/how-can-you-encode-a-string-to-base64-in-javascript

Did you find this post useful?

Tip me some bitcoin:

How to get free SSL for your Parse.com hosted app

This tutorial assumes you are using Parse.com hosting (yourapp.parseapp.com) and have applied a custom domain name (yourapp.com) upon which SSL will be used.

  1. Visit startssl.com and signup for a free SSL certificate, save the ssl.key and ssl.cert files when prompted
  2. Visit Settings > Hosting page in your Parse.com dashboard
  3. Upload the file ssl.cert into the SSL Public Certificate field
  4. Go back to startssl.com > Toolbox > Decrypt Private Key, save decrypted file as privatekey.pem
  5. Upload privatekey.pem to Parse.com in the SSL Private Key field

Did you find this post useful?

Tip me some bitcoin: