|
Hi, I have installed osqa on a site hosted on hostgator. The login functionality is working for google,yahoo,facebook. But when i click on twitter icon its generating an exception. I have already added the twitter consumer key and the twitter consumer secret through admin interface. The exception i am getting is:
I am unable to trace out the reason for the same. Please help me on this. Thanks |
|
Hi, I removed the earlier application created in twitter and created a new one. Added the new keys through administration panel and it resolved my issue.But i am still unable to figure out what caused problem in my earlier application? It was almost certainly something about your twitter app configuration or an error with the keys, or possibly a mere communication error at that moment. BTW, please don't post at StackOverflow that something in OSQA doesn't work. Just ask here, and you'll get great help from our team. As you now see, OSQA's Twitter login works well, but you have posted at SO that it doesn't, and casual observers won't see the details. Bad for OSQA.
(26 May '10, 19:00)
rickross ♦♦
pankaj, yes, you should remove that question from StackOverflow. This is the appropriate support forum for OSQA material
(02 Jun '10, 15:42)
Joseph
|
|
Did you set your twitter key on the administration panel? You have to get a consumer key and secret with twitter, go to http://twitter.com/apps, create a new app (better make it read/write since we're planning to add some other twitter related coolness), and see http://meta.osqa.net/questions/72/where-do-i-enter-for-the-twitter-callback-url to know what to put in the callback url field. If that's not the problem, then my appologies :-) PS: Is python 2.4.3 the only python version on hostgator? Don't you have the chance to upgrade? Thanks hernani for replying, i have already followed the steps as defined in http://wiki.osqa.net/display/docs/Adding+Twitter+Authentication+to+OSQA As far as python is considered i am not sure whether hostgator have upgraded version or not. Is version difference can be a problem? I am not sure because facebook authentication is working properly. If it is caused by version difference what would you suggest?
(26 May '10, 06:17)
pankaj
No the python version is not the problem, I just commented about it since is a bit old. The unauthorized error is being sent by twitter which means that by some reason is not liking your request. I'll investigate what are the possible causes for such a response a bit later.
(26 May '10, 06:40)
Hernani Cerq... ♦♦
This brings up a usability point. We should maybe hide those login methods until you enter the keys and perhaps put a message on the login page (when there are no users) that if you want to enable facebook or twitter, please enter the proper keys.
(26 May '10, 07:18)
matt ♦♦
|
Regenerating keys did end up working in the end. Twitter doens't recognize the keys until a long time later.