disqus / DISQUS-API-Recipes

Cook all the things!
288 stars 132 forks source link

ruby / sso.rb #15

Open sergioestebance opened 10 years ago

sergioestebance commented 10 years ago

Hi! I am trying to change the avatar of DISQUS in order to use custom avatars. Then I ended up here. How do I implement sso.rb in my Rails App? 'cause I see the code and realized that I have to create a Json object with the parameters and finally embed a javascript tag with the disqus funtion.

My questions are. Do I need to use explicitly the sso.rb? can I implement my own helper in order to embed the js code? do the js code need to be inside of a function (load event) ?

thanks!